commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1165050 - /commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/RequestParameterMapper.java
Date Sun, 04 Sep 2011 15:43:03 GMT
Author: simonetripodi
Date: Sun Sep  4 15:43:03 2011
New Revision: 1165050

URL: http://svn.apache.org/viewvc?rev=1165050&view=rev
Log:
used the getParameter() variant, as suggested in the javadoc

Modified:
    commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/RequestParameterMapper.java

Modified: commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/RequestParameterMapper.java
URL: http://svn.apache.org/viewvc/commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/RequestParameterMapper.java?rev=1165050&r1=1165049&r2=1165050&view=diff
==============================================================================
--- commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/RequestParameterMapper.java
(original)
+++ commons/proper/chain/branches/version-2.0-work/src/main/java/org/apache/commons/chain/web/servlet/RequestParameterMapper.java
Sun Sep  4 15:43:03 2011
@@ -126,7 +126,7 @@ public class RequestParameterMapper<C ex
         // Look up the specified request parameter for this request
         ServletWebContext swcontext = (ServletWebContext) context;
         HttpServletRequest request = swcontext.getRequest();
-        String value = request.getParameter(getParameter());
+        String value = request.getParameter(getCatalogName());
         return value;
 
     }



Mime
View raw message