From 799739458c67b9d3443cfac613876f1807a6260c 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) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: RĂ©mi Cocula --- .../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 {