You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2007/08/11 20:02:15 UTC

svn commit: r564949 - in /myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation: ConversationContext.java ConversationManager.java

Author: skitching
Date: Sat Aug 11 11:02:14 2007
New Revision: 564949

URL: http://svn.apache.org/viewvc?view=rev&rev=564949
Log:
Remove unused member from ConversationContext class. 

Modified:
    myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java
    myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationManager.java

Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java?view=diff&rev=564949&r1=564948&r2=564949
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationContext.java Sat Aug 11 11:02:14 2007
@@ -40,7 +40,6 @@
 	private final static Log log = LogFactory.getLog(ConversationContext.class);
 
 	private final long id;
-	private final ConversationManager manager;
 
 	private final Map attributes = new TreeMap();
 
@@ -48,10 +47,9 @@
 
 	private long lastAccess;
 
-	protected ConversationContext(ConversationManager manager, long id)
+	protected ConversationContext(long id)
 	{
 		this.id = id;
-		this.manager = manager;
 		touch();
 	}
 
@@ -69,7 +67,7 @@
 	}
 
 	/**
-	 * the system time in millis when this conversation has been accessed last
+	 * The system time in millis when this conversation has been accessed last.
 	 */
 	public long getLastAccess()
 	{

Modified: myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationManager.java
URL: http://svn.apache.org/viewvc/myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationManager.java?view=diff&rev=564949&r1=564948&r2=564949
==============================================================================
--- myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationManager.java (original)
+++ myfaces/orchestra/trunk/core/src/main/java/org/apache/myfaces/orchestra/conversation/ConversationManager.java Sat Aug 11 11:02:14 2007
@@ -198,7 +198,7 @@
 			ConversationContext conversationContext = (ConversationContext) conversationContexts.get(conversationContextId);
 			if (conversationContext == null)
 			{
-				conversationContext = new ConversationContext(this, conversationContextId.longValue());
+				conversationContext = new ConversationContext(conversationContextId.longValue());
 				conversationContexts.put(conversationContextId, conversationContext);
 			}