You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/06/22 17:11:04 UTC

svn commit: r956915 - /click/trunk/click/mock/src/org/apache/click/MockContext.java

Author: sabob
Date: Tue Jun 22 15:11:04 2010
New Revision: 956915

URL: http://svn.apache.org/viewvc?rev=956915&view=rev
Log:
fixed mock context to set dispatcher if it is not defined

Modified:
    click/trunk/click/mock/src/org/apache/click/MockContext.java

Modified: click/trunk/click/mock/src/org/apache/click/MockContext.java
URL: http://svn.apache.org/viewvc/click/trunk/click/mock/src/org/apache/click/MockContext.java?rev=956915&r1=956914&r2=956915&view=diff
==============================================================================
--- click/trunk/click/mock/src/org/apache/click/MockContext.java (original)
+++ click/trunk/click/mock/src/org/apache/click/MockContext.java Tue Jun 22 15:11:04 2010
@@ -282,7 +282,7 @@ public class MockContext extends Context
                 actionEventDispatcher = new ActionEventDispatcher(configService);
             }
 
-            if (actionEventDispatcher == null) {
+            if (callbackDispatcher == null) {
                 callbackDispatcher = new CallbackDispatcher(configService);
             }