click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r956915 - /click/trunk/click/mock/src/org/apache/click/MockContext.java
Date Tue, 22 Jun 2010 15:11:04 GMT
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);
             }
 



Mime
View raw message