From 00759666cfb410aa703312de06879f761f099dc6 Mon Sep 17 00:00:00 2001 From: remi Date: Tue, 6 Sep 2016 22:42:04 +0200 Subject: [PATCH] Clean unused method. (cherry picked from commit 6c44bb5) --- .../java/org/libresonic/player/TestCaseUtils.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java b/libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java index 8c22dfe1..1bad4c3d 100644 --- a/libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java +++ b/libresonic-main/src/test/java/org/libresonic/player/TestCaseUtils.java @@ -25,19 +25,6 @@ public class TestCaseUtils { 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 {