directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lucasthei...@apache.org
Subject svn commit: r1655680 - in /directory/shared/trunk/ldap/client/api/src: main/java/org/apache/directory/ldap/client/api/search/FilterBuilder.java test/java/org/apache/directory/ldap/client/api/search/FilterBuilderTest.java
Date Thu, 29 Jan 2015 14:30:19 GMT
Author: lucastheisen
Date: Thu Jan 29 14:30:19 2015
New Revision: 1655680

URL: http://svn.apache.org/r1655680
Log:
DIRAPI-165: renamed extended to custom

Modified:
    directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/FilterBuilder.java
    directory/shared/trunk/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/search/FilterBuilderTest.java

Modified: directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/FilterBuilder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/FilterBuilder.java?rev=1655680&r1=1655679&r2=1655680&view=diff
==============================================================================
--- directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/FilterBuilder.java
(original)
+++ directory/shared/trunk/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/search/FilterBuilder.java
Thu Jan 29 14:30:19 2015
@@ -174,13 +174,13 @@ public class FilterBuilder
      * import static org.apache.directory.ldap.client.api.search.FilterBuilder.extended;
      * import static your.package.here.EverythingFilter.everything;
      * ...
-     * extended( everything() );
+     * custom( everything() );
      * </pre>
      *  
      * @param filter The filter for an extension
      * @return A new FilterBuilder
      */
-    public static FilterBuilder extended( Filter filter )
+    public static FilterBuilder custom( Filter filter )
     {
         return new FilterBuilder( filter );
     }

Modified: directory/shared/trunk/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/search/FilterBuilderTest.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/search/FilterBuilderTest.java?rev=1655680&r1=1655679&r2=1655680&view=diff
==============================================================================
--- directory/shared/trunk/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/search/FilterBuilderTest.java
(original)
+++ directory/shared/trunk/ldap/client/api/src/test/java/org/apache/directory/ldap/client/api/search/FilterBuilderTest.java
Thu Jan 29 14:30:19 2015
@@ -24,7 +24,7 @@ import static org.apache.directory.ldap.
 import static org.apache.directory.ldap.client.api.search.FilterBuilder.contains;
 import static org.apache.directory.ldap.client.api.search.FilterBuilder.endsWith;
 import static org.apache.directory.ldap.client.api.search.FilterBuilder.equal;
-import static org.apache.directory.ldap.client.api.search.FilterBuilder.extended;
+import static org.apache.directory.ldap.client.api.search.FilterBuilder.custom;
 import static org.apache.directory.ldap.client.api.search.FilterBuilder.extensible;
 import static org.apache.directory.ldap.client.api.search.FilterBuilder.not;
 import static org.apache.directory.ldap.client.api.search.FilterBuilder.or;
@@ -141,9 +141,9 @@ public class FilterBuilderTest
 
 
     @Test
-    public void testExtended()
+    public void testCustom()
     {
-        assertEquals( "(objectClass=*)", extended( everything() ).toString() );
+        assertEquals( "(objectClass=*)", custom( everything() ).toString() );
     }
     
     



Mime
View raw message