mirror of https://github.com/apache/archiva.git
fix test compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197907 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3332f36a12
commit
ea0034cd8a
|
@ -28,7 +28,6 @@ import org.codehaus.plexus.redback.rbac.RbacObjectNotFoundException;
|
||||||
import org.codehaus.plexus.redback.rbac.Resource;
|
import org.codehaus.plexus.redback.rbac.Resource;
|
||||||
import org.codehaus.plexus.redback.rbac.Role;
|
import org.codehaus.plexus.redback.rbac.Role;
|
||||||
import org.codehaus.plexus.redback.rbac.UserAssignment;
|
import org.codehaus.plexus.redback.rbac.UserAssignment;
|
||||||
import org.codehaus.plexus.redback.rbac.memory.MemoryResource;
|
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
|
@ -232,7 +231,7 @@ public class TestRBACManager implements RBACManager
|
||||||
public Resource createResource( String identifier )
|
public Resource createResource( String identifier )
|
||||||
throws RbacManagerException
|
throws RbacManagerException
|
||||||
{
|
{
|
||||||
return new MemoryResource();
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean resourceExists( String identifier )
|
public boolean resourceExists( String identifier )
|
||||||
|
|
Loading…
Reference in New Issue