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 2014/02/09 22:54:55 UTC

svn commit: r1566441 - /wookie/trunk/wookie-server/src/main/java/org/apache/wookie/beans/SharedContext.java

Author: scottbw
Date: Sun Feb  9 21:54:55 2014
New Revision: 1566441

URL: http://svn.apache.org/r1566441
Log:
Removed unused method

Modified:
    wookie/trunk/wookie-server/src/main/java/org/apache/wookie/beans/SharedContext.java

Modified: wookie/trunk/wookie-server/src/main/java/org/apache/wookie/beans/SharedContext.java
URL: http://svn.apache.org/viewvc/wookie/trunk/wookie-server/src/main/java/org/apache/wookie/beans/SharedContext.java?rev=1566441&r1=1566440&r2=1566441&view=diff
==============================================================================
--- wookie/trunk/wookie-server/src/main/java/org/apache/wookie/beans/SharedContext.java (original)
+++ wookie/trunk/wookie-server/src/main/java/org/apache/wookie/beans/SharedContext.java Sun Feb  9 21:54:55 2014
@@ -151,16 +151,6 @@ public class SharedContext {
 	 * @param widgetInstance
 	 * @return the IParticipant representing the viewer, or null if no match is found
 	 */
-	@Deprecated
-	public IParticipant getViewer(IWidgetInstance widgetInstance){
-		return SharedContextService.Factory.getInstance().getParticipant(widgetInstance.getApiKey(), widgetInstance.getWidget().getIdentifier(), widgetInstance.getSharedDataKey(), widgetInstance.getUserId());    
-	}
-
-	/**
-	 * Get the participant associated with the widget instance as the viewer
-	 * @param widgetInstance
-	 * @return the IParticipant representing the viewer, or null if no match is found
-	 */
 	public IParticipant getViewer(){
 		return SharedContextService.Factory.getInstance().getParticipant(apiKey, widgetId, contextId, viewerId);    
 	}