directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r499508 - /directory/apacheds/trunk/bootstrap-partition/src/main/java/org/apache/directory/server/schema/bootstrap/partition/DbFileListing.java
Date Wed, 24 Jan 2007 18:28:55 GMT
Author: elecharny
Date: Wed Jan 24 10:28:54 2007
New Revision: 499508

URL: http://svn.apache.org/viewvc?view=rev&rev=499508
Log:
Ligth refactoring (nl added)

Modified:
    directory/apacheds/trunk/bootstrap-partition/src/main/java/org/apache/directory/server/schema/bootstrap/partition/DbFileListing.java

Modified: directory/apacheds/trunk/bootstrap-partition/src/main/java/org/apache/directory/server/schema/bootstrap/partition/DbFileListing.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/bootstrap-partition/src/main/java/org/apache/directory/server/schema/bootstrap/partition/DbFileListing.java?view=diff&rev=499508&r1=499507&r2=499508
==============================================================================
--- directory/apacheds/trunk/bootstrap-partition/src/main/java/org/apache/directory/server/schema/bootstrap/partition/DbFileListing.java
(original)
+++ directory/apacheds/trunk/bootstrap-partition/src/main/java/org/apache/directory/server/schema/bootstrap/partition/DbFileListing.java
Wed Jan 24 10:28:54 2007
@@ -112,14 +112,17 @@
     {
         Set<String> attributes = new HashSet<String>();
         Iterator<String> ii = iterator();
+        
         while( ii.hasNext() )
         {
             String name = ii.next();
+            
             if ( name2type.get( name ) == DbFileType.USER_INDEX )
             {
                 attributes.add( getIndexAttributeName( name ) );
             }
         }
+        
         return attributes;
     }
 }



Mime
View raw message