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 2016/09/27 12:16:13 UTC
wicket git commit: WICKET-6240 Fix build by reverting the generics
Repository: wicket
Updated Branches:
refs/heads/wicket-7.x 796255d77 -> bdcf92890
WICKET-6240 Fix build by reverting the generics
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/bdcf9289
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/bdcf9289
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/bdcf9289
Branch: refs/heads/wicket-7.x
Commit: bdcf92890dc670e48a7c7ee1174d6b6d9c4fedd9
Parents: 796255d
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Tue Sep 27 14:15:46 2016 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Tue Sep 27 14:15:46 2016 +0200
----------------------------------------------------------------------
.../java/org/apache/wicket/settings/ApplicationSettings.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/bdcf9289/wicket-core/src/main/java/org/apache/wicket/settings/ApplicationSettings.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/settings/ApplicationSettings.java b/wicket-core/src/main/java/org/apache/wicket/settings/ApplicationSettings.java
index 3dc699d..4d0b035 100644
--- a/wicket-core/src/main/java/org/apache/wicket/settings/ApplicationSettings.java
+++ b/wicket-core/src/main/java/org/apache/wicket/settings/ApplicationSettings.java
@@ -191,7 +191,7 @@ public class ApplicationSettings
Args.notNull(internalErrorPage, "internalErrorPage");
checkPageClass(internalErrorPage);
- this.internalErrorPage = new WeakReference<>(internalErrorPage);
+ this.internalErrorPage = new WeakReference<Class<? extends Page>>(internalErrorPage);
return this;
}
@@ -207,7 +207,7 @@ public class ApplicationSettings
Args.notNull(pageExpiredErrorPage, "pageExpiredErrorPage");
checkPageClass(pageExpiredErrorPage);
- this.pageExpiredErrorPage = new WeakReference<>(pageExpiredErrorPage);
+ this.pageExpiredErrorPage = new WeakReference<Class<? extends Page>>(pageExpiredErrorPage);
return this;
}