directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r536258 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
Date Tue, 08 May 2007 17:21:36 GMT
Author: elecharny
Date: Tue May  8 10:21:35 2007
New Revision: 536258

URL: http://svn.apache.org/viewvc?view=rev&rev=536258
Log:
Replaced all the reference to SearchResult with the new wrapper class ServerSearchResult.

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java?view=diff&rev=536258&r1=536257&r2=536258
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/schema/SchemaService.java
Tue May  8 10:21:35 2007
@@ -78,6 +78,7 @@
 import org.apache.directory.shared.ldap.message.AttributesImpl;
 import org.apache.directory.shared.ldap.message.ModificationItemImpl;
 import org.apache.directory.shared.ldap.message.ResultCodeEnum;
+import org.apache.directory.shared.ldap.message.ServerSearchResult;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.schema.DITContentRule;
@@ -524,7 +525,7 @@
                 {
                     // call.setBypass( true );
                     Attributes attrs = getSubschemaEntry( searchCtls.getReturningAttributes()
);
-                    SearchResult result = new SearchResult( base.toString(), null, attrs
);
+                    SearchResult result = new ServerSearchResult( base.toString(), null,
attrs );
                     return new SingletonEnumeration( result );
                 }
                 else
@@ -541,7 +542,7 @@
                 {
                     // call.setBypass( true );
                     Attributes attrs = getSubschemaEntry( searchCtls.getReturningAttributes()
);
-                    SearchResult result = new SearchResult( base.toString(), null, attrs,
false );
+                    SearchResult result = new ServerSearchResult( base.toString(), null,
attrs, false );
                     return new SingletonEnumeration( result );
                 }
             }



Mime
View raw message