portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r527314 - /portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java
Date Tue, 10 Apr 2007 21:38:28 GMT
Author: taylor
Date: Tue Apr 10 14:38:27 2007
New Revision: 527314

URL: http://svn.apache.org/viewvc?view=rev&rev=527314
Log:
merge all 2.0 preferences, not only existing ones

Modified:
    portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java

Modified: portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java?view=diff&rev=527314&r1=527313&r2=527314
==============================================================================
--- portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java
(original)
+++ portals/jetspeed-2/trunk/components/registry/src/java/org/apache/jetspeed/components/portletentity/PortletEntityImpl.java
Tue Apr 10 14:38:27 2007
@@ -173,11 +173,9 @@
         while (sharedPrefs.hasNext())
         {
             PrefsPreference sharedPref = (PrefsPreference) sharedPrefs.next();
-            if (names.contains(sharedPref.getName()))
-            {
-                List prefs = Arrays.asList(sharedPref.getValueArray());
-                userPrefSet.add(sharedPref.getName(), prefs);
-            }
+// this seems limiting, removing if (names.contains(sharedPref.getName()))
+            List prefs = Arrays.asList(sharedPref.getValueArray());
+            userPrefSet.add(sharedPref.getName(), prefs);
             index++;
         }        
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message