jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1202180 - /jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/repository/RmiRepositoryFactory.java
Date Tue, 15 Nov 2011 13:27:28 GMT
Author: ckoell
Date: Tue Nov 15 13:27:28 2011
New Revision: 1202180

URL: http://svn.apache.org/viewvc?rev=1202180&view=rev
Log:
wrong SupressWarning

Modified:
    jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/repository/RmiRepositoryFactory.java

Modified: jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/repository/RmiRepositoryFactory.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/repository/RmiRepositoryFactory.java?rev=1202180&r1=1202179&r2=1202180&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/repository/RmiRepositoryFactory.java
(original)
+++ jackrabbit/trunk/jackrabbit-jcr-rmi/src/main/java/org/apache/jackrabbit/rmi/repository/RmiRepositoryFactory.java
Tue Nov 15 13:27:28 2011
@@ -43,7 +43,7 @@ public class RmiRepositoryFactory implem
     private static final String REPOSITORY_URI =
         "org.apache.jackrabbit.repository.uri";
 
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({"unchecked", "rawtypes"})
     public Repository getRepository(Map parameters) throws RepositoryException {
         if (parameters != null && parameters.containsKey(REPOSITORY_URI)) {
             URI uri;
@@ -99,7 +99,7 @@ public class RmiRepositoryFactory implem
         }
     }
 
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings("rawtypes")
     private Repository getJndiRepository(String name, Hashtable environment)
             throws RepositoryException {
         try {



Mime
View raw message