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/10/04 22:19:24 UTC

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

Author: skitching
Date: Thu Oct  4 13:19:23 2007
New Revision: 582001

URL: http://svn.apache.org/viewvc?rev=582001&view=rev
Log:
Remove unused constructor parameter.

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?rev=582001&r1=582000&r2=582001&view=diff
==============================================================================
--- 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 Thu Oct  4 13:19:23 2007
@@ -39,7 +39,6 @@
 	private final Log log = LogFactory.getLog(ConversationContext.class);
 
 	private final long id;
-	private final ConversationManager conversationManager;
 
 	private final Map attributes = new TreeMap();
 
@@ -48,10 +47,9 @@
 	private long lastAccess;
 	private long timeout = 30 * 60 * 1000;
 
-	protected ConversationContext(ConversationManager conversationManager, long id)
+	protected ConversationContext(long id)
 	{
 		this.id = id;
-		this.conversationManager = conversationManager;
 
 		touch();
 	}

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?rev=582001&r1=582000&r2=582001&view=diff
==============================================================================
--- 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 Thu Oct  4 13:19:23 2007
@@ -170,7 +170,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);
 			}