directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1571224 - /directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterEncoder.java
Date Mon, 24 Feb 2014 10:46:08 GMT
Author: kayyagari
Date: Mon Feb 24 10:46:08 2014
New Revision: 1571224

URL: http://svn.apache.org/r1571224
Log:
changed parameter type to varargs (DIRAPI-128)

Modified:
    directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterEncoder.java

Modified: directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterEncoder.java
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterEncoder.java?rev=1571224&r1=1571223&r2=1571224&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterEncoder.java
(original)
+++ directory/shared/trunk/ldap/model/src/main/java/org/apache/directory/api/ldap/model/filter/FilterEncoder.java
Mon Feb 24 10:46:08 2014
@@ -45,7 +45,7 @@ public class FilterEncoder
      * @return the formatted filter with escaped values
      * @throws IllegalArgumentException if the number of values does not match the number
of placeholders in the template
      */
-    public static String format( String filterTemplate, String[] values ) throws IllegalArgumentException
+    public static String format( String filterTemplate, String... values ) throws IllegalArgumentException
     {
         if ( values == null )
         {



Mime
View raw message