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/02/23 17:55:03 UTC
[3/3] git commit: Fix minor warnings:
Fix minor warnings:
- javadoc
- unused variables
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/e177c36b
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/e177c36b
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/e177c36b
Branch: refs/heads/master
Commit: e177c36b529094ece6cee8337ef0a4b1bd88c49e
Parents: a69532e
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Thu Feb 23 17:11:32 2012 +0100
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu Feb 23 17:11:32 2012 +0100
----------------------------------------------------------------------
.../wicket/markup/html/pages/BrowserInfoPage.java | 12 ++----------
1 files changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/e177c36b/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/BrowserInfoPage.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/BrowserInfoPage.java b/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/BrowserInfoPage.java
index f980c69..1a64941 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/BrowserInfoPage.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/pages/BrowserInfoPage.java
@@ -28,8 +28,6 @@ import org.apache.wicket.protocol.http.WebSession;
import org.apache.wicket.protocol.http.request.WebClientInfo;
import org.apache.wicket.request.cycle.RequestCycle;
import org.apache.wicket.settings.IRequestCycleSettings;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
/**
@@ -40,7 +38,7 @@ import org.slf4j.LoggerFactory;
* the original location as was passed in as a URL argument in the constructor.
* </p>
* <p>
- * This page is being used by the default implementation of {@link WebRequestCycle#newClientInfo},
+ * This page is being used by the default implementation of {@link org.apache.wicket.Session#getClientInfo()},
* which in turn uses {@link IRequestCycleSettings#getGatherExtendedBrowserInfo() a setting} to
* determine whether this page should be redirected to (it does when it is true).
* </p>
@@ -49,18 +47,12 @@ import org.slf4j.LoggerFactory;
*/
public class BrowserInfoPage extends WebPage
{
- /** log. */
- private static final Logger log = LoggerFactory.getLogger(BrowserInfoPage.class);
-
private static final long serialVersionUID = 1L;
/**
* Bookmarkable constructor. This is not for normal framework client use. It will be called
* whenever JavaScript is not supported, and the browser info page's meta refresh fires to this
* page. Prior to this, the other constructor should already have been called.
- *
- * @param parameters
- * page parameters with the original url in it
*/
public BrowserInfoPage()
{
@@ -94,7 +86,7 @@ public class BrowserInfoPage extends WebPage
/**
* Adds components.
*/
- private final void initComps()
+ private void initComps()
{
WebComponent meta = new WebComponent("meta");