You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by pa...@apache.org on 2013/10/28 09:46:10 UTC

[03/27] git commit: Mark an unused method as deprecated

Mark an unused method as deprecated


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

Branch: refs/heads/wicket-4997
Commit: 4b55c3fdbb5e7c5391c9864e2857649c61b74ead
Parents: 2ae366b
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Fri Sep 27 09:11:45 2013 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Fri Sep 27 09:11:45 2013 +0200

----------------------------------------------------------------------
 wicket-core/src/main/java/org/apache/wicket/Session.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/4b55c3fd/wicket-core/src/main/java/org/apache/wicket/Session.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/Session.java b/wicket-core/src/main/java/org/apache/wicket/Session.java
index 83e55d2..a4395cc 100644
--- a/wicket-core/src/main/java/org/apache/wicket/Session.java
+++ b/wicket-core/src/main/java/org/apache/wicket/Session.java
@@ -291,7 +291,6 @@ public abstract class Session implements IClusterable, IEventSink
 		throw new UnsupportedOperationException("Deprecated, see the javadoc");
 	}
 
-
 	/**
 	 * Removes all pages from the session. Although this method should rarely be needed, it is
 	 * available (possibly for security reasons).
@@ -440,10 +439,12 @@ public abstract class Session implements IClusterable, IEventSink
 	/**
 	 * When a regular request on certain page with certain version is being processed, we don't
 	 * allow ajax requests to same page and version.
-	 * 
+	 *
 	 * @param lockedRequestCycle
 	 * @return whether current request is valid or should be discarded
+	 * @deprecated Not used since Wicket 1.5.0
 	 */
+	@Deprecated
 	protected boolean isCurrentRequestValid(RequestCycle lockedRequestCycle)
 	{
 		return true;