Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 83801 invoked from network); 11 Dec 2007 03:52:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Dec 2007 03:52:29 -0000 Received: (qmail 41224 invoked by uid 500); 11 Dec 2007 03:52:18 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 41171 invoked by uid 500); 11 Dec 2007 03:52:18 -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 41160 invoked by uid 99); 11 Dec 2007 03:52:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Dec 2007 19:52:18 -0800 X-ASF-Spam-Status: No, hits=-99.6 required=10.0 tests=ALL_TRUSTED,SUBJECT_FUZZY_TION 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; Tue, 11 Dec 2007 03:52:05 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id A10051A9832; Mon, 10 Dec 2007 19:52:08 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r603138 - in /directory/apacheds/branches/bigbang: btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/ core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/ jdbm-store/src/main/java/org/a... Date: Tue, 11 Dec 2007 03:52:07 -0000 To: commits@directory.apache.org From: akarasulu@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071211035208.A10051A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: akarasulu Date: Mon Dec 10 19:52:05 2007 New Revision: 603138 URL: http://svn.apache.org/viewvc?rev=603138&view=rev Log: correcting improperly added generics on interface Modified: directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Table.java directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsBTreeTest.java directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsTreeSetTest.java directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableNoDupsTest.java directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java Modified: directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Table.java URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Table.java?rev=603138&r1=603137&r2=603138&view=diff ============================================================================== --- directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Table.java (original) +++ directory/apacheds/branches/bigbang/btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/Table.java Mon Dec 10 19:52:05 2007 @@ -244,13 +244,12 @@ * key and enables single next steps across all duplicate records with * this key. This enumeration will only iterate over duplicates of the key. * Unlike listTuples(Object) which returns Tuples from the enumerations - * advances methods this call returns an enumeration with just the values - * of the key. + * this just returns the values of the key. * * @param key the key to iterate over * @throws NamingException if the underlying browser could not be set */ - NamingEnumeration listValues( Object key ) throws NamingException; + NamingEnumeration listValues( Object key ) throws NamingException; // ------------------------------------------------------------------------ Modified: directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsBTreeTest.java URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsBTreeTest.java?rev=603138&r1=603137&r2=603138&view=diff ============================================================================== --- directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsBTreeTest.java (original) +++ directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsBTreeTest.java Mon Dec 10 19:52:05 2007 @@ -238,7 +238,7 @@ // test the listTuples() method // ------------------------------------------------------------------- - NamingEnumeration tuples = table.listTuples(); + NamingEnumeration tuples = table.listTuples(); assertTrue( tuples.hasMore() ) ; tuple = ( Tuple ) tuples.next(); @@ -458,7 +458,7 @@ // test the listValues(Object) method // ------------------------------------------------------------------- - NamingEnumeration values = table.listValues( 0L ); + NamingEnumeration values = table.listValues( 0L ); assertFalse( values.hasMore() ); values = table.listValues( 2L ); @@ -496,7 +496,7 @@ // put(Object,Object) already tested in setUp() tests the // this instead tests the NamingEnumeration overload - NamingEnumeration values = new ArrayNE( new Object[] { + NamingEnumeration values = new ArrayNE( new Object[] { 3L, 4L, 5L, Modified: directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsTreeSetTest.java URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsTreeSetTest.java?rev=603138&r1=603137&r2=603138&view=diff ============================================================================== --- directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsTreeSetTest.java (original) +++ directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableDupsTreeSetTest.java Mon Dec 10 19:52:05 2007 @@ -460,7 +460,7 @@ // test the listValues(Object) method // ------------------------------------------------------------------- - NamingEnumeration values = table.listValues( 0L ); + NamingEnumeration values = table.listValues( 0L ); assertFalse( values.hasMore() ); values = table.listValues( 2L ); Modified: directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableNoDupsTest.java URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableNoDupsTest.java?rev=603138&r1=603137&r2=603138&view=diff ============================================================================== --- directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableNoDupsTest.java (original) +++ directory/apacheds/branches/bigbang/core/src/test/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTableNoDupsTest.java Mon Dec 10 19:52:05 2007 @@ -353,7 +353,7 @@ // test the listValues(Object) method // ------------------------------------------------------------------- - NamingEnumeration values = table.listValues( 0L ); + NamingEnumeration values = table.listValues( 0L ); assertFalse( values.hasMore() ); values = table.listValues( 2L ); Modified: directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java?rev=603138&r1=603137&r2=603138&view=diff ============================================================================== --- directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java (original) +++ directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmIndex.java Mon Dec 10 19:52:05 2007 @@ -453,7 +453,7 @@ */ public void drop( Object entryId ) throws NamingException { - NamingEnumeration values = reverse.listValues( entryId ); + NamingEnumeration values = reverse.listValues( entryId ); while ( values.hasMore() ) { Modified: directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java?rev=603138&r1=603137&r2=603138&view=diff ============================================================================== --- directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java (original) +++ directory/apacheds/branches/bigbang/jdbm-store/src/main/java/org/apache/directory/server/core/partition/impl/btree/jdbm/JdbmTable.java Mon Dec 10 19:52:05 2007 @@ -966,7 +966,7 @@ /** * @see Table#listValues(java.lang.Object) */ - public NamingEnumeration listValues( Object key ) throws NamingException + public NamingEnumeration listValues( Object key ) throws NamingException { if ( !allowsDuplicates ) {