tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kkoli...@apache.org
Subject svn commit: r1200308 - /tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/http/Parameters.java
Date Thu, 10 Nov 2011 12:50:29 GMT
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


Mime
View raw message