refactor(PathManager): remove redundant getInstance
I think that code must have been moved here from another class.
@@ -327,13 +327,13 @@ private void updateDirs() throws IOException {
final Path path;
switch (OS.get()) {
case WINDOWS:
- path = PathManager.getInstance().getNativesPath().resolve("windows");
+ path = nativesPath.resolve("windows");
break;
case MACOSX:
- path = PathManager.getInstance().getNativesPath().resolve("macosx");
+ path = nativesPath.resolve("macosx");
break;
case LINUX:
- path = PathManager.getInstance().getNativesPath().resolve("linux");
+ path = nativesPath.resolve("linux");
break;
default:
throw new UnsupportedOperationException("Unsupported operating system: " + System.getProperty("os" +
