directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1134052 - in /directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi: ControlEnum.java ServerDirContext.java
Date Thu, 09 Jun 2011 19:32:47 GMT
Author: elecharny
Date: Thu Jun  9 19:32:46 2011
New Revision: 1134052

URL: http://svn.apache.org/viewvc?rev=1134052&view=rev
Log:
o Added a missing class header
o Reformated the enum

Modified:
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ControlEnum.java
    directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ControlEnum.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ControlEnum.java?rev=1134052&r1=1134051&r2=1134052&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ControlEnum.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ControlEnum.java
Thu Jun  9 19:32:46 2011
@@ -20,10 +20,23 @@
 package org.apache.directory.server.core.jndi;
 
 
+/**
+ * The list of existing controls in ADS
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
 public enum ControlEnum
 {
-    CASCADE_CONTROL, ENTRY_CHANGE_CONTROL, SYNC_DONE_VALUE_CONTROL, 
-    MANAGE_DSA_IT_CONTROL, PAGED_RESULTS_CONTROL, PASSWORD_POLICY_REQUEST_CONTROL, 
-    PERSISTENT_SEARCH_CONTROL, SUBENTRIES_CONTROL, SYNC_INFO_VALUE_CONTROL, 
-    SYNC_MODIFY_DN_CONTROL, SYNC_REQUEST_VALUE_CONTROL, SYNC_STATE_VALUE_CONTROL
+    CASCADE_CONTROL, 
+    ENTRY_CHANGE_CONTROL, 
+    SYNC_DONE_VALUE_CONTROL, 
+    MANAGE_DSA_IT_CONTROL, 
+    PAGED_RESULTS_CONTROL, 
+    PASSWORD_POLICY_REQUEST_CONTROL, 
+    PERSISTENT_SEARCH_CONTROL, 
+    SUBENTRIES_CONTROL, 
+    SYNC_INFO_VALUE_CONTROL, 
+    SYNC_MODIFY_DN_CONTROL, 
+    SYNC_REQUEST_VALUE_CONTROL, 
+    SYNC_STATE_VALUE_CONTROL
 }

Modified: directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java?rev=1134052&r1=1134051&r2=1134052&view=diff
==============================================================================
--- directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
(original)
+++ directory/apacheds/trunk/core-jndi/src/main/java/org/apache/directory/server/core/jndi/ServerDirContext.java
Thu Jun  9 19:32:46 2011
@@ -694,7 +694,7 @@ public abstract class ServerDirContext e
             try
             {
                 EntryFilteringCursor cursor = doSearchOperation( target, aliasDerefMode,
filter, ctls );
-                return new NamingEnumerationAdapter ( cursor );
+                return new NamingEnumerationAdapter( cursor );
             }
             catch ( Exception e )
             {



Mime
View raw message