Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 31590 invoked from network); 24 Jan 2007 18:30:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jan 2007 18:30:03 -0000 Received: (qmail 89727 invoked by uid 500); 24 Jan 2007 18:30:10 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 89677 invoked by uid 500); 24 Jan 2007 18:30:09 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 89666 invoked by uid 99); 24 Jan 2007 18:30:09 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 10:30:09 -0800 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jan 2007 10:30:03 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 773361A981A; Wed, 24 Jan 2007 10:28:55 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070124182855.773361A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 attributes = new HashSet(); Iterator ii = iterator(); + while( ii.hasNext() ) { String name = ii.next(); + if ( name2type.get( name ) == DbFileType.USER_INDEX ) { attributes.add( getIndexAttributeName( name ) ); } } + return attributes; } }