]> source.dussan.org Git - archiva.git/commitdiff
fix test compilation issue
authorOlivier Lamy <olamy@apache.org>
Sat, 5 Nov 2011 09:15:00 +0000 (09:15 +0000)
committerOlivier Lamy <olamy@apache.org>
Sat, 5 Nov 2011 09:15:00 +0000 (09:15 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197907 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java

index 5b0b88e5ffce2d6f7ae3ca5ccce5f6b7139449de..55c754e4628894e747061cdbc1f9bbcafb905fc0 100644 (file)
@@ -28,7 +28,6 @@ import org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException;
 import org.codehaus.plexus.redback.rbac.Resource;
 import org.codehaus.plexus.redback.rbac.Role;
 import org.codehaus.plexus.redback.rbac.UserAssignment;
-import org.codehaus.plexus.redback.rbac.memory.MemoryResource;
 import org.springframework.stereotype.Service;
 
 import java.util.Collection;
@@ -232,7 +231,7 @@ public class TestRBACManager implements RBACManager
     public Resource createResource( String identifier )
         throws RbacManagerException
     {
-        return new MemoryResource();
+        return null;
     }
 
     public boolean resourceExists( String identifier )