directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r412817 - in /directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition: DefaultDirectoryPartitionNexus.java impl/btree/gui/PartitionViewer.java
Date Thu, 08 Jun 2006 17:52:04 GMT
Author: akarasulu
Date: Thu Jun  8 10:52:04 2006
New Revision: 412817

URL: http://svn.apache.org/viewvc?rev=412817&view=rev
Log:
added objectClass as a user index on system partition

Modified:
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/DefaultDirectoryPartitionNexus.java
    directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionViewer.java

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/DefaultDirectoryPartitionNexus.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/DefaultDirectoryPartitionNexus.java?rev=412817&r1=412816&r2=412817&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/DefaultDirectoryPartitionNexus.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/DefaultDirectoryPartitionNexus.java
Thu Jun  8 10:52:04 2006
@@ -244,6 +244,7 @@
         indexedSystemAttrs.add( Oid.ONEALIAS );
         indexedSystemAttrs.add( Oid.SUBALIAS );
         indexedSystemAttrs.add( Oid.UPDN );
+        indexedSystemAttrs.add( "objectClass" );
         systemCfg.setIndexedAttributes( indexedSystemAttrs );
 
         // Add context entry for system partition

Modified: directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionViewer.java
URL: http://svn.apache.org/viewvc/directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionViewer.java?rev=412817&r1=412816&r2=412817&view=diff
==============================================================================
--- directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionViewer.java
(original)
+++ directory/branches/apacheds/optimization/core/src/main/java/org/apache/directory/server/core/partition/impl/btree/gui/PartitionViewer.java
Thu Jun  8 10:52:04 2006
@@ -83,7 +83,9 @@
     //        }
     //    }
 
-    public void execute() throws NamingException
+    
+    // added return value so expressions in debugger does not freak with void
+    public int execute() throws NamingException
     {
         PartitionFrame frame = new PartitionFrame( partition, eng );
 
@@ -95,5 +97,6 @@
 
         frame.setVisible( true );
         log.debug( frameSize + "" );
+        return 0;
     }
 }



Mime
View raw message