You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kk...@apache.org on 2011/11/10 13:50:29 UTC

svn commit: r1200308 - /tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/http/Parameters.java

Author: kkolinko
Date: Thu Nov 10 12:50:29 2011
New Revision: 1200308

URL: http://svn.apache.org/viewvc?rev=1200308&view=rev
Log:
Revert r1200302. Adding parameter with no values is allowed - see getParameter().
Sorry for the noise.

Modified:
    tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/http/Parameters.java

Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/http/Parameters.java
URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/http/Parameters.java?rev=1200308&r1=1200307&r2=1200308&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/http/Parameters.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/http/Parameters.java Thu Nov 10 12:50:29 2011
@@ -119,7 +119,7 @@ public final class Parameters {
 
     @Deprecated
     public void addParameterValues(String key, String[] newValues) {
-        if (key == null || newValues.length == 0) {
+        if (key == null) {
             return;
         }
         ArrayList<String> values = paramHashValues.get(key);



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org