abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r579346 - /incubator/abdera/java/branches/0.3.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/impl/HttpServletRequestContext.java
Date Tue, 25 Sep 2007 18:41:25 GMT
Author: jmsnell
Date: Tue Sep 25 11:41:24 2007
New Revision: 579346

URL: http://svn.apache.org/viewvc?rev=579346&view=rev
Log:
Fix for https://issues.apache.org/jira/browse/ABDERA-67.

Modified:
    incubator/abdera/java/branches/0.3.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/impl/HttpServletRequestContext.java

Modified: incubator/abdera/java/branches/0.3.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/impl/HttpServletRequestContext.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/0.3.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/impl/HttpServletRequestContext.java?rev=579346&r1=579345&r2=579346&view=diff
==============================================================================
--- incubator/abdera/java/branches/0.3.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/impl/HttpServletRequestContext.java
(original)
+++ incubator/abdera/java/branches/0.3.0-incubating/server/src/main/java/org/apache/abdera/protocol/server/impl/HttpServletRequestContext.java
Tue Sep 25 11:41:24 2007
@@ -148,8 +148,8 @@
   }
   
   public List<String> getParameters(String name) {
-    return java.util.Arrays.asList(
-      request.getParameterValues(name));
+    String[] values = request.getParameterValues(name);
+    return values != null ? java.util.Arrays.asList(values) : null;
   }
   
   public Date getDateHeader(String name) {



Mime
View raw message