Updated Branches:
  refs/heads/master 957128cab -> 4e44f4a37

Don't use HomePage as generics type in getHomePage


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

Branch: refs/heads/master
Commit: 4e44f4a37ee42eab055a48b0d82f3fc90d6a45a4
Parents: 957128c
Author: Martijn Dashorst <dasho...@apache.org>
Authored: Fri Oct 12 15:36:06 2012 +0200
Committer: Martijn Dashorst <dasho...@apache.org>
Committed: Fri Oct 12 15:36:22 2012 +0200

----------------------------------------------------------------------
 .../src/main/java/WicketApplication.java           |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/4e44f4a3/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/WicketApplication.java
----------------------------------------------------------------------
diff --git 
a/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/WicketApplication.java
 
b/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/WicketApplication.java
index 4e918a2..2649039 100644
--- 
a/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/WicketApplication.java
+++ 
b/archetypes/quickstart/src/main/resources/archetype-resources/src/main/java/WicketApplication.java
@@ -1,5 +1,6 @@
 package ${package};
 
+import org.apache.wicket.markup.html.WebPage;
 import org.apache.wicket.protocol.http.WebApplication;
 
 /**
@@ -13,7 +14,7 @@ public class WicketApplication extends WebApplication
         * @see org.apache.wicket.Application#getHomePage()
         */
        @Override
-       public Class<HomePage> getHomePage()
+       public Class<? extends WebPage> getHomePage()
        {
                return HomePage.class;
        }

Reply via email to