directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r937711 - /directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ScopeNode.java
Date Sat, 24 Apr 2010 22:20:39 GMT
Author: seelmann
Date: Sat Apr 24 22:20:39 2010
New Revision: 937711

URL: http://svn.apache.org/viewvc?rev=937711&view=rev
Log:
Changed getEntryId(String) to getEntryId(DN) in Store and BTreePartition, to avoid DN parsing

Modified:
    directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ScopeNode.java

Modified: directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ScopeNode.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ScopeNode.java?rev=937711&r1=937710&r2=937711&view=diff
==============================================================================
--- directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ScopeNode.java
(original)
+++ directory/shared/trunk/ldap/src/main/java/org/apache/directory/shared/ldap/filter/ScopeNode.java
Sat Apr 24 22:20:39 2010
@@ -21,6 +21,7 @@ package org.apache.directory.shared.ldap
 
 
 import org.apache.directory.shared.ldap.message.AliasDerefMode;
+import org.apache.directory.shared.ldap.name.DN;
 
 
 /**
@@ -36,7 +37,7 @@ public class ScopeNode extends AbstractE
     private final SearchScope scope;
 
     /** the search base */
-    private final String baseDn;
+    private final DN baseDn;
 
     /** the alias dereferencing mode */
     private final AliasDerefMode aliasDerefAliases;
@@ -49,7 +50,7 @@ public class ScopeNode extends AbstractE
      * @param baseDn the search base
      * @param scope the search scope
      */
-    public ScopeNode( AliasDerefMode aliasDerefAliases, String baseDn, SearchScope scope
)
+    public ScopeNode( AliasDerefMode aliasDerefAliases, DN baseDn, SearchScope scope )
     {
         super( AssertionType.SCOPE );
         this.scope = scope;
@@ -96,7 +97,7 @@ public class ScopeNode extends AbstractE
      * 
      * @return the base dn
      */
-    public String getBaseDn()
+    public DN getBaseDn()
     {
         return baseDn;
     }



Mime
View raw message