sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sseif...@apache.org
Subject svn commit: r1800154 - /sling/trunk/testing/mocks/resourceresolver-mock/src/test/java/org/apache/sling/testing/resourceresolver/IsResourceTypeTest.java
Date Wed, 28 Jun 2017 12:35:13 GMT
Author: sseifert
Date: Wed Jun 28 12:35:13 2017
New Revision: 1800154

URL: http://svn.apache.org/viewvc?rev=1800154&view=rev
Log:
SLING-6986 proper implementation of ResourceResolver.isResourceType - same logic as in o.a.s.resourceresolver-1.5.24

This closes #245

Modified:
    sling/trunk/testing/mocks/resourceresolver-mock/src/test/java/org/apache/sling/testing/resourceresolver/IsResourceTypeTest.java

Modified: sling/trunk/testing/mocks/resourceresolver-mock/src/test/java/org/apache/sling/testing/resourceresolver/IsResourceTypeTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/testing/mocks/resourceresolver-mock/src/test/java/org/apache/sling/testing/resourceresolver/IsResourceTypeTest.java?rev=1800154&r1=1800153&r2=1800154&view=diff
==============================================================================
--- sling/trunk/testing/mocks/resourceresolver-mock/src/test/java/org/apache/sling/testing/resourceresolver/IsResourceTypeTest.java
(original)
+++ sling/trunk/testing/mocks/resourceresolver-mock/src/test/java/org/apache/sling/testing/resourceresolver/IsResourceTypeTest.java
Wed Jun 28 12:35:13 2017
@@ -21,7 +21,6 @@ package org.apache.sling.testing.resourc
 import static org.junit.Assert.assertFalse;
 import static org.junit.Assert.assertTrue;
 
-import java.io.IOException;
 import java.util.HashMap;
 import java.util.Map;
 
@@ -40,7 +39,7 @@ public class IsResourceTypeTest {
     private ResourceResolver resolver;
 
     @Before
-    public final void setUp() throws IOException, LoginException {
+    public final void setUp() throws LoginException {
         resolver = new MockResourceResolverFactory().getResourceResolver(null);
     }
     



Mime
View raw message