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/01/16 17:25:41 UTC

svn commit: r1059605 - /wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java

Author: mgrigorov
Date: Sun Jan 16 16:25:41 2011
New Revision: 1059605

URL: http://svn.apache.org/viewvc?rev=1059605&view=rev
Log:
Remove dead/commented code.

Modified:
    wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java

Modified: wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java
URL: http://svn.apache.org/viewvc/wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java?rev=1059605&r1=1059604&r2=1059605&view=diff
==============================================================================
--- wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java (original)
+++ wicket/trunk/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/NiceUrlApplication.java Sun Jan 16 16:25:41 2011
@@ -27,8 +27,6 @@ import org.apache.wicket.util.lang.Packa
 /**
  * Application class for this example.
  * 
- * TODO NG
- * 
  * @author Eelco Hillenius
  */
 public class NiceUrlApplication extends WicketExampleApplication
@@ -50,11 +48,6 @@ public class NiceUrlApplication extends 
 		return Home.class;
 	}
 
-// private <C extends Page> void mountBookmarkablePageWithUrlCoding(String path, Class<C> pageClass)
-// {
-// mount(new QueryStringUrlCodingStrategy(path, pageClass));
-// }
-
 	/**
 	 * @see org.apache.wicket.examples.WicketExampleApplication#init()
 	 */
@@ -80,23 +73,4 @@ public class NiceUrlApplication extends 
 			new MountMapper("/my/mounted/package", new PackageMapper(
 				PackageName.forClass(Page3.class))));
 	}
-	/**
-	 * Sets up a request coding strategy that uses case-insensitive mounts
-	 * 
-	 * @see org.apache.wicket.protocol.http.WebApplication#newRequestCycleProcessor() //
-	 */
-// @Override
-// protected IRequestCycleProcessor newRequestCycleProcessor()
-// {
-// return new WebRequestCycleProcessor()
-// {
-// @Override
-// protected IRequestCodingStrategy newRequestCodingStrategy()
-// {
-// WebRequestCodingStrategy.Settings stratSettings = new WebRequestCodingStrategy.Settings();
-// stratSettings.setMountsCaseSensitive(false);
-// return new WebRequestCodingStrategy(stratSettings);
-// }
-// };
-// }
 }