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 2011/05/04 20:30:53 UTC
svn commit: r1099555 -
/incubator/wookie/trunk/src/org/apache/wookie/helpers/SharedDataHelper.java
Author: scottbw
Date: Wed May 4 18:30:52 2011
New Revision: 1099555
URL: http://svn.apache.org/viewvc?rev=1099555&view=rev
Log:
As we now use the same internal form of shared data key for widget instances there is no need to compute the value of it, but simply return the value. However, its useful keeping this indirection for a while we make sure the fix for WOOKIE-206 doesn't have any other problems.
Modified:
incubator/wookie/trunk/src/org/apache/wookie/helpers/SharedDataHelper.java
Modified: incubator/wookie/trunk/src/org/apache/wookie/helpers/SharedDataHelper.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/helpers/SharedDataHelper.java?rev=1099555&r1=1099554&r2=1099555&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/helpers/SharedDataHelper.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/helpers/SharedDataHelper.java Wed May 4 18:30:52 2011
@@ -31,8 +31,7 @@ import org.apache.wookie.beans.util.Pers
public class SharedDataHelper {
public static String getInternalSharedDataKey(IWidgetInstance instance){
- String key = instance.getSharedDataKey() + ":" + instance.getApiKey() + ":" + instance.getWidget().getGuid();
- return String.valueOf(key.hashCode());
+ return instance.getSharedDataKey();
}
public static String getInternalSharedDataKey(IWidgetInstance instance, String sharedDataKey){