Skip to content

Commit

Permalink
Code > Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehutch committed Jun 2, 2021
1 parent d3ffcb8 commit c351949
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -103,7 +103,7 @@ public static String currDirPath() {
// user.dir should be the current directory at the time the JVM is started, which is
// where classpath elements should be resolved relative to
Path path = null;
String currDirPathStr = System.getProperty("user.dir");
final String currDirPathStr = System.getProperty("user.dir");
if (currDirPathStr != null) {
try {
path = Paths.get(currDirPathStr);
Expand All @@ -120,7 +120,7 @@ public static String currDirPath() {
// Fall through
}
}

// Normalize current directory the same way all other paths are normalized in ClassGraph,
// for consistency
currDirPath = FastPathResolver.resolve(path == null ? "" : path.toString());
Expand Down

0 comments on commit c351949

Please sign in to comment.