From ea0034cd8ae807679b42e0f923e25c6bdd4f7f3f Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Sat, 5 Nov 2011 09:15:00 +0000 Subject: [PATCH] fix test compilation issue git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197907 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/archiva/consumers/lucene/test/TestRBACManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java index 5b0b88e5f..55c754e46 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-lucene-consumers/src/test/java/org/apache/archiva/consumers/lucene/test/TestRBACManager.java @@ -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 ) -- 2.39.5