You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2012/01/13 14:52:04 UTC

git commit: WICKET-4326 Make AjaxRequestTarget an interface and move the impl to AjaxRequestHandler

Updated Branches:
  refs/heads/master c2b44cca9 -> 57cd02e80


WICKET-4326
Make AjaxRequestTarget an interface and move the impl to AjaxRequestHandler


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/57cd02e8
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/57cd02e8
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/57cd02e8

Branch: refs/heads/master
Commit: 57cd02e8031d44341b2df28547e7f99a32636d1f
Parents: c2b44cc
Author: martin-g <mg...@apache.org>
Authored: Fri Jan 13 15:51:49 2012 +0200
Committer: martin-g <mg...@apache.org>
Committed: Fri Jan 13 15:51:49 2012 +0200

----------------------------------------------------------------------
 .../apache/wicket/request/cycle/RequestCycle.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/57cd02e8/wicket-core/src/main/java/org/apache/wicket/request/cycle/RequestCycle.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/request/cycle/RequestCycle.java b/wicket-core/src/main/java/org/apache/wicket/request/cycle/RequestCycle.java
index 2878fdf..94f295c 100644
--- a/wicket-core/src/main/java/org/apache/wicket/request/cycle/RequestCycle.java
+++ b/wicket-core/src/main/java/org/apache/wicket/request/cycle/RequestCycle.java
@@ -754,7 +754,7 @@ public class RequestCycle implements IRequestCycle, IEventSink
 		if (result == null || type.isAssignableFrom(result.getClass()) == false)
 		{
 			result = getRequestHandlerScheduledAfterCurrent();
-			if (result == null || result.getClass().isAssignableFrom(type) == false)
+			if (result == null || type.isAssignableFrom(result.getClass()) == false)
 			{
 				result = null;
 			}