Clean unused method.

(cherry picked from commit 6c44bb5)

Signed-off-by: Rémi Cocula <rcocula@gmail.com>
master
remi 8 years ago committed by Rémi Cocula
parent f599271163
commit 799739458c
  1. 13
      libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java

@ -25,19 +25,6 @@ public class TestCaseUtils {
return targetDir + LIBRESONIC_HOME_FOR_TEST; return targetDir + LIBRESONIC_HOME_FOR_TEST;
} }
/**
* Constructs the path of a resource according to the path of the current class.
*
* @param baseResources
* @return
*/
private static String basePath(String baseResources) {
String basePath = TestCaseUtils.class.getResource(baseResources).toString();
if (basePath.startsWith("file:")) {
return TestCaseUtils.class.getResource(baseResources).toString().replace("file:","");
}
return basePath;
}
public static void deleteLibresonicHome() throws IOException { public static void deleteLibresonicHome() throws IOException {

Loading…
Cancel
Save