incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r591008 - /incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/request/helpers/MicroslingRequestPathInfoTest.java
Date Thu, 01 Nov 2007 13:49:23 GMT
Author: fmeschbe
Date: Thu Nov  1 06:49:22 2007
New Revision: 591008

URL: http://svn.apache.org/viewvc?rev=591008&view=rev
Log:
Adapt to changes in Sling API regarding ResourceMetadata

Modified:
    incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/request/helpers/MicroslingRequestPathInfoTest.java

Modified: incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/request/helpers/MicroslingRequestPathInfoTest.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/request/helpers/MicroslingRequestPathInfoTest.java?rev=591008&r1=591007&r2=591008&view=diff
==============================================================================
--- incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/request/helpers/MicroslingRequestPathInfoTest.java
(original)
+++ incubator/sling/trunk/microsling/microsling-core/src/test/java/org/apache/sling/microsling/request/helpers/MicroslingRequestPathInfoTest.java
Thu Nov  1 06:49:22 2007
@@ -16,8 +16,6 @@
  */
 package org.apache.sling.microsling.request.helpers;
 
-import java.util.HashMap;
-
 import junit.framework.TestCase;
 
 import org.apache.sling.api.request.RequestPathInfo;
@@ -169,7 +167,7 @@
         private final ResourceMetadata metadata;
 
         MockResource(String resolutionPath) {
-            metadata = new MockResourceMetadata();
+            metadata = new ResourceMetadata();
             metadata.put(ResourceMetadata.RESOLUTION_PATH, resolutionPath);
         }
 
@@ -192,11 +190,6 @@
         public ResourceMetadata getResourceMetadata() {
             return metadata;
         }
-    }
-
-    private static class MockResourceMetadata extends HashMap<String, Object>
-            implements ResourceMetadata {
-
     }
 
 }



Mime
View raw message