sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1559042 - in /sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl: MockedResourceResolverImplTest.java mapping/MapEntryTest.java
Date Fri, 17 Jan 2014 08:03:40 GMT
Author: cziegeler
Date: Fri Jan 17 08:03:40 2014
New Revision: 1559042

URL: http://svn.apache.org/r1559042
Log:
Remove unused variables

Modified:
    sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/MockedResourceResolverImplTest.java
    sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/mapping/MapEntryTest.java

Modified: sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/MockedResourceResolverImplTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/MockedResourceResolverImplTest.java?rev=1559042&r1=1559041&r2=1559042&view=diff
==============================================================================
--- sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/MockedResourceResolverImplTest.java
(original)
+++ sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/MockedResourceResolverImplTest.java
Fri Jan 17 08:03:40 2014
@@ -138,7 +138,7 @@ public class MockedResourceResolverImplT
         // setup mapping resources at /etc/map to exercise vanity etc.
         // hmm, can't provide the resolver since its not up and ready.
         // mapping almost certainly work properly until this can be setup correctly.
-        Resource etcMapResource = buildMappingResource("/etc/map", mappingResourceProvider,
null);
+        buildMappingResource("/etc/map", mappingResourceProvider, null);
 
         activator.bindResourceProvider(mappingResourceProvider,
             buildResourceProviderProperties("org.apache.sling.resourceresolver.impl.MapProvider",

Modified: sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/mapping/MapEntryTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/mapping/MapEntryTest.java?rev=1559042&r1=1559041&r2=1559042&view=diff
==============================================================================
--- sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/mapping/MapEntryTest.java
(original)
+++ sling/trunk/bundles/resourceresolver/src/test/java/org/apache/sling/resourceresolver/impl/mapping/MapEntryTest.java
Fri Jan 17 08:03:40 2014
@@ -23,9 +23,9 @@ import static org.junit.Assert.assertNot
 import static org.junit.Assert.fail;
 
 import java.lang.reflect.Method;
+
 import junit.framework.TestCase;
 
-import org.apache.sling.resourceresolver.impl.mapping.MapEntry;
 import org.junit.Test;
 
 public class MapEntryTest {
@@ -152,7 +152,6 @@ public class MapEntryTest {
         TestCase.assertNull(filterRegExp(new String[0]));
 
         String aString = "plain";
-        String aString2 = "plain2";
         String aPattern = "http/[^.]+.www.example.com.8080/bla";
 
         TestCase.assertNull(filterRegExp(aPattern));



Mime
View raw message