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/03/12 17:04:15 UTC

git commit: WICKET-2747 AjaxPagingNavigator Link factories should return AbstractLink

Updated Branches:
  refs/heads/master 537fef681 -> 4b3db1c5b


WICKET-2747 AjaxPagingNavigator Link factories should return AbstractLink


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

Branch: refs/heads/master
Commit: 4b3db1c5bea8efee93bc93319053b6264396e893
Parents: 537fef6
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Mon Mar 12 18:03:13 2012 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Mon Mar 12 18:03:13 2012 +0200

----------------------------------------------------------------------
 .../navigation/paging/AjaxPagingNavigator.java     |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/4b3db1c5/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.java b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.java
index a4efeb9..1167e49 100644
--- a/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.java
+++ b/wicket-core/src/main/java/org/apache/wicket/ajax/markup/html/navigation/paging/AjaxPagingNavigator.java
@@ -19,6 +19,7 @@ package org.apache.wicket.ajax.markup.html.navigation.paging;
 import org.apache.wicket.Component;
 import org.apache.wicket.MarkupContainer;
 import org.apache.wicket.ajax.AjaxRequestTarget;
+import org.apache.wicket.markup.html.link.AbstractLink;
 import org.apache.wicket.markup.html.link.Link;
 import org.apache.wicket.markup.html.navigation.paging.IPageable;
 import org.apache.wicket.markup.html.navigation.paging.IPagingLabelProvider;
@@ -91,7 +92,7 @@ public class AjaxPagingNavigator extends PagingNavigator
 	 * @return the increment link
 	 */
 	@Override
-	protected Link<?> newPagingNavigationIncrementLink(String id, IPageable pageable, int increment)
+	protected AbstractLink newPagingNavigationIncrementLink(String id, IPageable pageable, int increment)
 	{
 		return new AjaxPagingNavigationIncrementLink(id, pageable, increment);
 	}
@@ -109,7 +110,7 @@ public class AjaxPagingNavigator extends PagingNavigator
 	 * @return the pagenumber link
 	 */
 	@Override
-	protected Link<?> newPagingNavigationLink(String id, IPageable pageable, int pageNumber)
+	protected AbstractLink newPagingNavigationLink(String id, IPageable pageable, int pageNumber)
 	{
 		return new AjaxPagingNavigationLink(id, pageable, pageNumber);
 	}