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 2011/03/13 18:19:00 UTC

svn commit: r1081158 - /wicket/trunk/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java

Author: mgrigorov
Date: Sun Mar 13 17:19:00 2011
New Revision: 1081158

URL: http://svn.apache.org/viewvc?rev=1081158&view=rev
Log:
Fix typos in inline javadoc and local variable names.


Modified:
    wicket/trunk/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java

Modified: wicket/trunk/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java?rev=1081158&r1=1081157&r2=1081158&view=diff
==============================================================================
--- wicket/trunk/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java (original)
+++ wicket/trunk/wicket-core/src/main/java/org/apache/wicket/protocol/http/WicketFilter.java Sun Mar 13 17:19:00 2011
@@ -283,7 +283,7 @@ public class WicketFilter implements Fil
 		application.setName(filterConfig.getFilterName());
 		application.setWicketFilter(this);
 
-		// Allow the filterPath to tbe preset via setFilterPath()
+		// Allow the filterPath to be preset via setFilterPath()
 		if (filterPath == null)
 		{
 			filterPath = getFilterPathFromConfig(filterConfig);
@@ -488,7 +488,7 @@ public class WicketFilter implements Fil
 	 */
 	protected final String checkIfRedirectRequired(final String requestURI, final String contextPath)
 	{
-		// length without jesessionid (http://.../abc;jsessionid=...?param)
+		// length without jsessionid (http://.../abc;jsessionid=...?param)
 		int uriLength = requestURI.indexOf(';');
 		if (uriLength == -1)
 		{
@@ -506,9 +506,9 @@ public class WicketFilter implements Fil
 		}
 
 		// request.getContextPath() + "/" + filterPath. But without any trailing "/".
-		int homePathLenth = contextPath.length() +
+		int homePathLength = contextPath.length() +
 			(filterPathLength > 0 ? 1 + filterPathLength : 0);
-		if (uriLength != homePathLenth)
+		if (uriLength != homePathLength)
 		{
 			// requestURI and homePath are different (in length)
 			// => continue with standard request processing. No redirect.