directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r945666 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/UserClass.java
Date Tue, 18 May 2010 14:14:36 GMT
Author: felixk
Date: Tue May 18 14:14:35 2010
New Revision: 945666

URL: http://svn.apache.org/viewvc?rev=945666&view=rev
Log:
Formatting

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/UserClass.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/UserClass.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/UserClass.java?rev=945666&r1=945665&r2=945666&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/UserClass.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/aci/UserClass.java
Tue May 18 14:14:35 2010
@@ -51,7 +51,7 @@ public abstract class UserClass implemen
      * distinguished name of the ancestor.
      */
     public static final ThisEntry THIS_ENTRY = new ThisEntry();
-    
+
     /**
      * The user as parent (ancestor) of accessed entry.
      */
@@ -64,7 +64,6 @@ public abstract class UserClass implemen
     protected UserClass()
     {
     }
-    
 
     /**
      * Every directory user (with possible requirements for
@@ -106,25 +105,27 @@ public abstract class UserClass implemen
             return "thisEntry";
         }
     }
-    
+
     /**
      * The user as parent (ancestor) of accessed entry.
      */
     public static class ParentOfEntry extends UserClass
     {
         private static final long serialVersionUID = 5247207736068086476L;
-        
+
+
         private ParentOfEntry()
         {
         }
-        
+
+
         public String toString()
         {
             return "parentOfEntry";
         }
-        
+
     }
-    
+
     /**
      * A base class for all user classes which has a set of DNs.
      */
@@ -178,11 +179,11 @@ public abstract class UserClass implemen
         public String toString()
         {
             StringBuilder buffer = new StringBuilder();
-            
+
             boolean isFirst = true;
             buffer.append( "{ " );
-            
-            for ( DN name:names )
+
+            for ( DN name : names )
             {
                 if ( isFirst )
                 {
@@ -192,14 +193,14 @@ public abstract class UserClass implemen
                 {
                     buffer.append( ", " );
                 }
-                
+
                 buffer.append( '"' );
                 buffer.append( name.toString() );
                 buffer.append( '"' );
             }
-            
+
             buffer.append( " }" );
-            
+
             return buffer.toString();
         }
     }
@@ -278,7 +279,8 @@ public abstract class UserClass implemen
          */
         public Subtree( Collection<SubtreeSpecification> subtreeSpecs )
         {
-            this.subtreeSpecifications = Collections.unmodifiableCollection( new ArrayList<SubtreeSpecification>(
subtreeSpecs ) );
+            this.subtreeSpecifications = Collections.unmodifiableCollection( new ArrayList<SubtreeSpecification>(
+                subtreeSpecs ) );
         }
 
 
@@ -311,11 +313,11 @@ public abstract class UserClass implemen
         public String toString()
         {
             StringBuilder buffer = new StringBuilder();
-            
+
             boolean isFirst = true;
             buffer.append( "subtree { " );
-            
-            for ( SubtreeSpecification ss:subtreeSpecifications )
+
+            for ( SubtreeSpecification ss : subtreeSpecifications )
             {
                 if ( isFirst )
                 {
@@ -325,12 +327,12 @@ public abstract class UserClass implemen
                 {
                     buffer.append( ", " );
                 }
-                
+
                 ss.printToBuffer( buffer );
             }
-            
+
             buffer.append( " }" );
-            
+
             return buffer.toString();
         }
     }



Mime
View raw message