Opened 2 years ago

Last modified 20 months ago

#22583 new enhancement

Replace code where we iterate over a directory using a Stack with FileVisitor

Reported by: iwakeh Owned by: metrics-team
Priority: Medium Milestone:
Component: Metrics/Library Version:
Severity: Normal Keywords: metrics-help, metrics-2018
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description (last modified by iwakeh)

Use Files.walkFileTree and an extension of SimpleFileVisitor in DescriptorReaderImpl to simplify the code which currently is in "readDescriptorFiles". Look for other places that would benefit from using FileVisitor.

Child Tickets

Change History (5)

comment:1 Changed 2 years ago by iwakeh

Description: modified (diff)
Keywords: metrics-help added
Milestone: metrics-lib 1.9.0
Summary: use FileVisitor and escalate NoSuchALg. exceptionsuse FileVisitor

comment:2 Changed 2 years ago by karsten

Summary: use FileVisitorReplace code where we iterate over a directory using a Stack with FileVisitor

Make an attempt to make the summary a bit clearer.

comment:3 Changed 23 months ago by karsten

Keywords: metrics-2018 added

comment:4 Changed 23 months ago by karsten

Keywords: metrics-2017 added; metrics-2018 removed

comment:5 Changed 20 months ago by iwakeh

Keywords: metrics-2018 added; metrics-2017 removed

Will be completed in 2018.

Note: See TracTickets for help on using tickets.