directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r527120 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionFrame.java
Date Tue, 10 Apr 2007 13:00:46 GMT
Author: elecharny
Date: Tue Apr 10 06:00:45 2007
New Revision: 527120

URL: http://svn.apache.org/viewvc?view=rev&rev=527120
Log:
Modified the add method to reflect the use of
AddServcieContext parameter

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionFrame.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionFrame.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionFrame.java?view=diff&rev=527120&r1=527119&r2=527120
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionFrame.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionFrame.java
Tue Apr 10 06:00:45 2007
@@ -61,6 +61,7 @@
 import javax.swing.tree.TreeNode;
 import javax.swing.tree.TreePath;
 
+import org.apache.directory.server.core.interceptor.context.AddServiceContext;
 import org.apache.directory.server.core.partition.impl.btree.BTreePartition;
 import org.apache.directory.server.core.partition.impl.btree.Index;
 import org.apache.directory.server.core.partition.impl.btree.IndexRecord;
@@ -452,7 +453,7 @@
 
                 if ( null == partition.getEntryId( ndn.toString() ) )
                 {
-                    partition.add(ndn, attrs );
+                    partition.add( new AddServiceContext( ndn, attrs ) );
                     load();
                 }
             }



Mime
View raw message