Author: thomas.heute(a)jboss.com
Date: 2008-11-28 09:19:15 -0500 (Fri, 28 Nov 2008)
New Revision: 12318
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentPortletStateEntry.java
Log:
JBPORTAL-2252: PortletPreferences composed of multiple strings always only return one
Thank you Manuel !
Modified:
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentPortletStateEntry.java
===================================================================
---
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentPortletStateEntry.java 2008-11-28
11:36:21 UTC (rev 12317)
+++
branches/JBoss_Portal_Branch_2_7/core/src/main/org/jboss/portal/core/impl/portlet/state/PersistentPortletStateEntry.java 2008-11-28
14:19:15 UTC (rev 12318)
@@ -149,9 +149,9 @@
{
if (dirty)
{
+ value = new ArrayList<String>();
for (int i=0; i<strings.length; i++)
{
- value = new ArrayList<String>();
value.add(strings[i]);
}
dirty = false;
Show replies by date