jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ang...@apache.org
Subject svn commit: r1429814 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserImporter.java
Date Mon, 07 Jan 2013 14:37:51 GMT
Author: angela
Date: Mon Jan  7 14:37:51 2013
New Revision: 1429814

URL: http://svn.apache.org/viewvc?rev=1429814&view=rev
Log:
fix indention

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserImporter.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserImporter.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserImporter.java?rev=1429814&r1=1429813&r2=1429814&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserImporter.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/security/user/UserImporter.java
Mon Jan  7 14:37:51 2013
@@ -552,8 +552,8 @@ public class UserImporter implements Pro
         String repMembers = resolver.getJCRName(UserConstants.NT_REP_MEMBERS);
         if (repMembers.equals(protectedParent.getPrimaryNodeType().getName())) {
             NodeImpl groupNode = protectedParent;
-            while(groupNode.getDepth() != 0 &&
-                  repMembers.equals(groupNode.getPrimaryNodeType().getName())) {
+            while (groupNode.getDepth() != 0 &&
+                    repMembers.equals(groupNode.getPrimaryNodeType().getName())) {
 
                 groupNode = (NodeImpl) groupNode.getParent();
             }
@@ -561,13 +561,11 @@ public class UserImporter implements Pro
             if (auth == null) {
                 log.debug("Cannot handle protected node " + protectedParent + ". It nor one
of its parents represent a valid Authorizable.");
                 return false;
-            }
-            else {
+            } else {
                 currentMembership = new Membership(auth.getID());
                 return true;
             }
-        }
-        else {
+        } else {
             return false;
         }
     }
@@ -593,8 +591,7 @@ public class UserImporter implements Pro
                     currentMembership.addMember(name, id);
                 }
             }
-        }
-        else {
+        } else {
             log.warn("{} is not of type {}", childInfo.getName(), UserConstants.NT_REP_MEMBERS);
         }
     }



Mime
View raw message