Author: chris.laprun(a)jboss.com
Date: 2010-06-24 10:02:46 -0400 (Thu, 24 Jun 2010)
New Revision: 3472
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java
Log:
- GTNWSRP-51: properly create a new NamedString for each parameter.
Modified:
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java
===================================================================
---
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java 2010-06-24
13:54:36 UTC (rev 3471)
+++
components/wsrp/trunk/consumer/src/main/java/org/gatein/wsrp/consumer/ActionHandler.java 2010-06-24
14:02:46 UTC (rev 3472)
@@ -189,9 +189,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);