Repository: wicket
Updated Branches:
  refs/heads/master b6225514d -> bc85e41c1


Fix typos in javadoc. Remove unnecessary cast


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

Branch: refs/heads/master
Commit: e409c1d5ef728352a101bce27bb77cf41faf96dc
Parents: b622551
Author: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Authored: Sat Oct 15 21:43:25 2016 +0200
Committer: Martin Tzvetanov Grigorov <mgrigo...@apache.org>
Committed: Sat Oct 15 21:44:34 2016 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/wicket/protocol/https/HttpsMapper.java | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/e409c1d5/wicket-core/src/main/java/org/apache/wicket/protocol/https/HttpsMapper.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/protocol/https/HttpsMapper.java 
b/wicket-core/src/main/java/org/apache/wicket/protocol/https/HttpsMapper.java
index caaa056..b9ef466 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/protocol/https/HttpsMapper.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/protocol/https/HttpsMapper.java
@@ -27,7 +27,6 @@ import org.apache.wicket.request.Request;
 import org.apache.wicket.request.Url;
 import org.apache.wicket.request.component.IRequestablePage;
 import org.apache.wicket.request.cycle.RequestCycle;
-import org.apache.wicket.request.http.WebRequest;
 import org.apache.wicket.request.http.WebResponse;
 import org.apache.wicket.request.mapper.IRequestMapperDelegate;
 import org.apache.wicket.util.collections.ClassMetaCache;
@@ -134,7 +133,7 @@ public class HttpsMapper implements IRequestMapperDelegate
        }
 
        /**
-        * Construts a redirect url that should switch the user to the 
specified {@code scheme}
+        * Constructs a redirect url that should switch the user to the 
specified {@code scheme}
         * 
         * @param handler
         *            request handler being accessed
@@ -146,7 +145,7 @@ public class HttpsMapper implements IRequestMapperDelegate
         */
        protected String createRedirectUrl(IRequestHandler handler, Request 
request, Scheme scheme)
        {
-               HttpServletRequest req = 
(HttpServletRequest)((WebRequest)request).getContainerRequest();
+               HttpServletRequest req = 
(HttpServletRequest)request.getContainerRequest();
                String url = scheme.urlName() + "://";
                url += req.getServerName();
                if (!scheme.usesStandardPort(config))

Reply via email to