You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2005/08/12 07:55:15 UTC

svn commit: r232214 - /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/impl/btree/jdbm/JdbmContextPartition.java

Author: akarasulu
Date: Thu Aug 11 22:55:13 2005
New Revision: 232214

URL: http://svn.apache.org/viewcvs?rev=232214&view=rev
Log:
not useing lockable features of attr impl

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/impl/btree/jdbm/JdbmContextPartition.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/impl/btree/jdbm/JdbmContextPartition.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/impl/btree/jdbm/JdbmContextPartition.java?rev=232214&r1=232213&r2=232214&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/impl/btree/jdbm/JdbmContextPartition.java (original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/partition/impl/btree/jdbm/JdbmContextPartition.java Thu Aug 11 22:55:13 2005
@@ -954,7 +954,7 @@
 
     public Attributes getIndices( BigInteger id ) throws  NamingException
     {
-        LockableAttributesImpl attributes = new LockableAttributesImpl();
+        Attributes attributes = new LockableAttributesImpl();
 
         // Get the distinguishedName to id mapping
         attributes.put( "_nDn", getEntryDn( id ) );
@@ -975,7 +975,7 @@
                 Attribute attr = attributes.get( attrId );
                 if ( attr == null)
                 {
-                    attr = new LockableAttributeImpl( attributes, attrId );
+                    attr = new LockableAttributeImpl( attrId );
                 }
                 attr.add( val );
                 attributes.put( attr );
@@ -997,7 +997,7 @@
             Attribute attr = attributes.get( valStr );
             if ( attr == null )
             {
-                attr = new LockableAttributeImpl( attributes, valStr );
+                attr = new LockableAttributeImpl( valStr );
             }
             attr.add( rec.getEntryId() );
             attributes.put( attr );
@@ -1007,7 +1007,7 @@
         // Get all parent child mappings for this entry as the parent using the
         // key 'child' with many entries following it.
         list = hierarchyIdx.listIndices( id );
-        Attribute childAttr = new LockableAttributeImpl( attributes, "_child" );
+        Attribute childAttr = new LockableAttributeImpl( "_child" );
         attributes.put( childAttr );
         while ( list.hasMore() )
         {