You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2007/09/25 20:41:25 UTC

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

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) {