jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1072078 - in /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization: acl/NodeTypeTest.java acl/VersionTest.java combined/WriteTest.java principalbased/ACLTemplateTest.java
Date Fri, 18 Feb 2011 17:29:39 GMT
Author: angela
Date: Fri Feb 18 17:29:39 2011
New Revision: 1072078

URL: http://svn.apache.org/viewvc?rev=1072078&view=rev
Log:
Missing @Override annotation, minor improvement

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/NodeTypeTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/VersionTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/combined/WriteTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/principalbased/ACLTemplateTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/NodeTypeTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/NodeTypeTest.java?rev=1072078&r1=1072077&r2=1072078&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/NodeTypeTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/NodeTypeTest.java
Fri Feb 18 17:29:39 2011
@@ -31,13 +31,16 @@ import java.util.Map;
  * <code>NodeTypeTest</code>...
  */
 public class NodeTypeTest extends AbstractNodeTypeManagementTest {
+    @Override
     protected boolean isExecutable() {
         return EvaluationUtil.isExecutable(acMgr);
     }
+    @Override
     protected JackrabbitAccessControlList getPolicy(AccessControlManager acMgr, String path,
Principal princ) throws
             RepositoryException, NotExecutableException {
         return EvaluationUtil.getPolicy(acMgr, path, princ);
     }
+    @Override
     protected Map<String, Value> getRestrictions(Session s, String path) throws RepositoryException,
NotExecutableException {
         return EvaluationUtil.getRestrictions(s, path);
     }

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/VersionTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/VersionTest.java?rev=1072078&r1=1072077&r2=1072078&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/VersionTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/acl/VersionTest.java
Fri Feb 18 17:29:39 2011
@@ -31,13 +31,16 @@ import java.util.Map;
  * <code>VersionTest</code>...
  */
 public class VersionTest extends AbstractVersionManagementTest {
+    @Override
     protected boolean isExecutable() {
         return EvaluationUtil.isExecutable(acMgr);
     }
+    @Override
     protected JackrabbitAccessControlList getPolicy(AccessControlManager acMgr, String path,
Principal princ) throws
             RepositoryException, NotExecutableException {
         return EvaluationUtil.getPolicy(acMgr, path, princ);
     }
+    @Override
     protected Map<String, Value> getRestrictions(Session s, String path) throws RepositoryException,
NotExecutableException {
         return EvaluationUtil.getRestrictions(s, path);
     }

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/combined/WriteTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/combined/WriteTest.java?rev=1072078&r1=1072077&r2=1072078&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/combined/WriteTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/combined/WriteTest.java
Fri Feb 18 17:29:39 2011
@@ -46,6 +46,7 @@ public class WriteTest extends org.apach
 
     private static Logger log = LoggerFactory.getLogger(WriteTest.class);
 
+    @Override
     protected void setUp() throws Exception {
         super.setUp();
 
@@ -58,6 +59,7 @@ public class WriteTest extends org.apach
         }
     }
 
+    @Override
     protected boolean isExecutable() {
         try {
             AccessControlPolicy[] rootPolicies = acMgr.getPolicies("/");

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/principalbased/ACLTemplateTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/principalbased/ACLTemplateTest.java?rev=1072078&r1=1072077&r2=1072078&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/principalbased/ACLTemplateTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/authorization/principalbased/ACLTemplateTest.java
Fri Feb 18 17:29:39 2011
@@ -51,7 +51,7 @@ public class ACLTemplateTest extends Abs
     }
 
     public void testGetRestrictionNames() throws RepositoryException {
-        List names = Arrays.asList(createEmptyTemplate(getTestPath()).getRestrictionNames());
+        List<String> names = Arrays.asList(createEmptyTemplate(getTestPath()).getRestrictionNames());
 
         assertEquals(2, names.size());
         NameResolver resolver = (NameResolver) superuser;



Mime
View raw message