directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r683748 - in /directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message: SearchRequest.java SearchRequestImpl.java
Date Thu, 07 Aug 2008 23:40:23 GMT
Author: akarasulu
Date: Thu Aug  7 16:40:22 2008
New Revision: 683748

URL: http://svn.apache.org/viewvc?rev=683748&view=rev
Log:
switching to use list instead of collection because it is more aligned with our internal data
structures - imple uses list anyways

Modified:
    directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
    directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java

Modified: directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java?rev=683748&r1=683747&r2=683748&view=diff
==============================================================================
--- directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
(original)
+++ directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequest.java
Thu Aug  7 16:40:22 2008
@@ -20,7 +20,7 @@
 package org.apache.directory.shared.ldap.message;
 
 
-import java.util.Collection;
+import java.util.List;
 
 import org.apache.directory.shared.ldap.filter.ExprNode;
 import org.apache.directory.shared.ldap.filter.SearchScope;
@@ -213,7 +213,7 @@
      * 
      * @return the attributes to return for this request
      */
-    Collection<String> getAttributes();
+    List<String> getAttributes();
 
 
     /**

Modified: directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java?rev=683748&r1=683747&r2=683748&view=diff
==============================================================================
--- directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java
(original)
+++ directory/shared/branches/bigbang/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchRequestImpl.java
Thu Aug  7 16:40:22 2008
@@ -21,7 +21,6 @@
 
 
 import java.util.ArrayList;
-import java.util.Collection;
 import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
@@ -114,9 +113,9 @@
      * 
      * @return the collection of attributes to return for each entry
      */
-    public Collection<String> getAttributes()
+    public List<String> getAttributes()
     {
-        return Collections.unmodifiableCollection( attributes );
+        return Collections.unmodifiableList( attributes );
     }
 
 



Mime
View raw message