jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r833197 - in /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user: AdministratorTest.java GroupAdministratorTest.java UserAdministratorTest.java UserManagerImplTest.java
Date Thu, 05 Nov 2009 21:58:18 GMT
Author: angela
Date: Thu Nov  5 21:58:17 2009
New Revision: 833197

URL: http://svn.apache.org/viewvc?rev=833197&view=rev
Log:
fix typos in comments and javadoc

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/AdministratorTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/GroupAdministratorTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserAdministratorTest.java
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserManagerImplTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/AdministratorTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/AdministratorTest.java?rev=833197&r1=833196&r2=833197&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/AdministratorTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/AdministratorTest.java
Thu Nov  5 21:58:17 2009
@@ -93,7 +93,7 @@
         // after removing the node the admin user doesn't exist any more
         assertNull(userMgr.getAuthorizable(adminId));
 
-        // login must succeed as system user mgr recreateds the admin user
+        // login must succeed as system user mgr recreates the admin user
         Session s2 = getHelper().getSuperuserSession();
         try {
             admin = userMgr.getAuthorizable(adminId);

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/GroupAdministratorTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/GroupAdministratorTest.java?rev=833197&r1=833196&r2=833197&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/GroupAdministratorTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/GroupAdministratorTest.java
Thu Nov  5 21:58:17 2009
@@ -77,7 +77,7 @@
         save(superuser);
         grID = groupAdmin.getID();
 
-        // create a session for the grou-admin user.
+        // create a session for the group-admin user.
         uSession = getHelper().getRepository().login(creds);
 
         groupsPath = (userMgr instanceof UserManagerImpl) ? ((UserManagerImpl) userMgr).getGroupsPath()
: UserConstants.GROUPS_PATH;

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserAdministratorTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserAdministratorTest.java?rev=833197&r1=833196&r2=833197&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserAdministratorTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserAdministratorTest.java
Thu Nov  5 21:58:17 2009
@@ -272,7 +272,7 @@
         Group gr = getGroupAdminGroup(umgr);
         try {
             assertFalse(gr.addMember(userHimSelf));
-            // conditial save call omitted.
+            // conditional save call omitted.
         } catch (RepositoryException e) {
             // success as well.
         } finally {
@@ -395,7 +395,7 @@
         Authorizable auth = umgr.getAuthorizable(uID);
         try {
             assertFalse(gr.addMember(auth));
-            // omit cond-save call.
+            // omit conditional save call.
         } catch (AccessDeniedException e) {
             // success as well.
         }
@@ -403,7 +403,7 @@
         auth = umgr.getAuthorizable(otherUID);
         try {
             assertFalse(gr.addMember(auth));
-            // omit cond-save call.
+            // omit conditional save call.
         } catch (AccessDeniedException e) {
             // success as well.
         }

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserManagerImplTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserManagerImplTest.java?rev=833197&r1=833196&r2=833197&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserManagerImplTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/security/user/UserManagerImplTest.java
Thu Nov  5 21:58:17 2009
@@ -180,7 +180,7 @@
                     Authorizable first = (Authorizable) users.next();
                     assertEquals(first.getID(), val);
 
-                    // since id is unique -> there should be no more auths in
+                    // since id is unique -> there should be no more users in
                     // the iterator left
                     assertFalse(users.hasNext());
                 }



Mime
View raw message