Author: chris.laprun(a)jboss.com
Date: 2010-06-24 09:54:36 -0400 (Thu, 24 Jun 2010)
New Revision: 3471
Modified:
components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java
Log:
- GTNWSRP-51: properly created a new NamedString for each parameter.
Modified:
components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java
===================================================================
---
components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java 2010-06-24
10:56:09 UTC (rev 3470)
+++
components/wsrp/branches/1.1.x/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java 2010-06-24
13:54:36 UTC (rev 3471)
@@ -188,9 +188,10 @@
{
String name = (String)param.getKey();
String[] values = (String[])param.getValue();
- NamedString formParameter = new NamedString();
+ NamedString formParameter;
for (String value : values)
{
+ formParameter = new NamedString();
formParameter.setName(name);
formParameter.setValue(value);
formParameters.add(formParameter);
Show replies by date