You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2013/03/04 23:27:05 UTC

svn commit: r1452572 - /wookie/trunk/src/org/apache/wookie/helpers/WidgetInstanceFactory.java

Author: scottbw
Date: Mon Mar  4 22:27:04 2013
New Revision: 1452572

URL: http://svn.apache.org/r1452572
Log:
Removed sharedDataKey from preferences; this was an early "hack" that has been unused for quite some time. It causes an issue using Flatpack (see WOOKIE-387) which is why I'm removing it now.

Modified:
    wookie/trunk/src/org/apache/wookie/helpers/WidgetInstanceFactory.java

Modified: wookie/trunk/src/org/apache/wookie/helpers/WidgetInstanceFactory.java
URL: http://svn.apache.org/viewvc/wookie/trunk/src/org/apache/wookie/helpers/WidgetInstanceFactory.java?rev=1452572&r1=1452571&r2=1452572&view=diff
==============================================================================
--- wookie/trunk/src/org/apache/wookie/helpers/WidgetInstanceFactory.java (original)
+++ wookie/trunk/src/org/apache/wookie/helpers/WidgetInstanceFactory.java Mon Mar  4 22:27:04 2013
@@ -162,10 +162,6 @@ public class WidgetInstanceFactory{
 			}
 		}
 
-		// add in the sharedDataKey as a preference so that a widget can know
-		// what sharedData event to listen to later
-		setPreference(persistenceManager, widgetInstance, "sharedDataKey", sharedDataKey, true);//$NON-NLS-1$
-
 		// add in widget defaults
 		for (org.apache.wookie.w3c.IPreference pref: widget.getPreferences()){
 			setPreference(persistenceManager, widgetInstance, pref.getName(), pref.getValue(),pref.isReadOnly());