Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 2
    Additionally, the code can be improved by not dealing with File.separator manually and using + instead of concat, i.e. Paths.get(nasProps.getUpstreamOutputDirectory(), inputSource + "_" + contentGroup + "_" + parentId). Further, the test .matches(".*\\." + extTxt) looks very much like the intended operation is .endsWith("." + extTxt). Commented Feb 15, 2019 at 7:57