]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Compilation error with JDK 1.5
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 9 Jun 2009 17:03:50 +0000 (17:03 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 9 Jun 2009 17:03:50 +0000 (17:03 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@2523 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

runtime/org.argeo.slc.server/src/main/java/org/argeo/slc/server/client/impl/AbstractHttpServicesClient.java

index a7936916ef110b99d8ba84a4e8f53134fbfe4770..43f8fe16a9a82bbdc127b42ab447aa17d07c786b 100644 (file)
@@ -35,8 +35,9 @@ public abstract class AbstractHttpServicesClient implements HttpServicesClient {
        private Long retryPeriod = 1000l;
        private Long defaultTimeout = 30 * 1000l;
 
+       @SuppressWarnings(value = { "unchecked" })
        public <T> T callService(String path, Map<String, String> parameters) {
-               return callService(path, parameters, null);
+               return (T)callService(path, parameters, null);
        }
 
        @SuppressWarnings(value = { "unchecked" })