incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1185054 - /sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverFactoryImpl.java
Date Mon, 17 Oct 2011 09:19:30 GMT
Author: cziegeler
Date: Mon Oct 17 09:19:30 2011
New Revision: 1185054

URL: http://svn.apache.org/viewvc?rev=1185054&view=rev
Log:
Remove unused methods

Modified:
    sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverFactoryImpl.java

Modified: sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverFactoryImpl.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverFactoryImpl.java?rev=1185054&r1=1185053&r2=1185054&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverFactoryImpl.java
(original)
+++ sling/trunk/bundles/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/JcrResourceResolverFactoryImpl.java
Mon Oct 17 09:19:30 2011
@@ -352,27 +352,16 @@ public class JcrResourceResolverFactoryI
         return null;
     }
 
-    /** If uri is a virtual URI returns the real URI, otherwise returns null */
-    String virtualToRealUri(String virtualUri) {
-        return (virtualURLMap != null)
-                ? (String) virtualURLMap.get(virtualUri)
-                : null;
-    }
-
     /**
-     * If uri is a real URI for any virtual URI, the virtual URI is returned,
-     * otherwise returns null
+     * This method is called from {@link MapEntries}
      */
-    String realToVirtualUri(String realUri) {
-        return (virtualURLMap != null)
-                ? (String) virtualURLMap.getKey(realUri)
-                : null;
-    }
-
     public BidiMap getVirtualURLMap() {
         return virtualURLMap;
     }
 
+    /**
+     * This method is called from {@link MapEntries}
+     */
     public Mapping[] getMappings() {
         return mappings;
     }



Mime
View raw message