From a708c81320adb2c87f17f6e6a48a974d17f258cf Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 31 Dec 2012 14:14:39 +0000 Subject: [PATCH] remove String to String git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427128 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/archiva/rest/services/DefaultCommonServices.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultCommonServices.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultCommonServices.java index 424c1f5d6..4068f900e 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultCommonServices.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultCommonServices.java @@ -124,7 +124,7 @@ public class DefaultCommonServices Properties properties = new Properties(); try { - is = Thread.currentThread().getContextClassLoader().getResourceAsStream( resourceName.toString() ); + is = Thread.currentThread().getContextClassLoader().getResourceAsStream( resourceName ); if ( is != null ) { properties.load( is ); -- 2.39.5