Skip to content

Commit dd25fb8

Browse files
committed
snaploader-examples: applied DirectoryPath API changes
1 parent 4a648f3 commit dd25fb8

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

snaploader-examples/src/main/java/electrostatic4j/snaploader/examples/TestBasicFeatures.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected static String getJarFilePath() {
101101
}
102102

103103
protected static String getNativeDynamicLibraryPath() {
104-
return getLibrariesAbsolutePath() +
104+
return getLibrariesAbsolutePath().getPath() +
105105
PropertiesProvider.FILE_SEPARATOR.getSystemProperty() +
106106
"lib" + getLibraryBaseName() + ".so";
107107
}

snaploader-examples/src/main/java/electrostatic4j/snaploader/examples/TestFilesystemMemoryLeak.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ public void onExtractionFinalization(FileExtractor fileExtractor, FileLocator fi
7979
}
8080

8181
protected static String getZipAbsolutePath() {
82-
return TestBasicFeatures.getLibrariesAbsolutePath() +
82+
return TestBasicFeatures.getLibrariesAbsolutePath().getPath() +
8383
PropertiesProvider.FILE_SEPARATOR.getSystemProperty() + "jmelogo700.zip";
8484
}
8585

8686
protected static String getExtractionPath() {
87-
return TestBasicFeatures.getLibrariesAbsolutePath() +
87+
return TestBasicFeatures.getLibrariesAbsolutePath().getPath() +
8888
PropertiesProvider.FILE_SEPARATOR.getSystemProperty() + getFilePath();
8989
}
9090

snaploader-examples/src/main/java/electrostatic4j/snaploader/examples/TestZipExtractor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ public void onExtractionFinalization(FileExtractor fileExtractor, FileLocator fi
7878
}
7979

8080
protected static String getZipAbsolutePath() {
81-
return TestBasicFeatures.getLibrariesAbsolutePath() +
81+
return TestBasicFeatures.getLibrariesAbsolutePath().getPath() +
8282
PropertiesProvider.FILE_SEPARATOR.getSystemProperty() + "jmelogo700.zip";
8383
}
8484

8585
protected static String getExtractionPath() {
86-
return TestBasicFeatures.getLibrariesAbsolutePath() +
86+
return TestBasicFeatures.getLibrariesAbsolutePath().getPath() +
8787
PropertiesProvider.FILE_SEPARATOR.getSystemProperty() + getFilePath();
8888
}
8989

0 commit comments

Comments
 (0)