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 2013/10/29 14:04:02 UTC
git commit: WICKET-5386 ChainingModel should not check if the
modelObject given as argument is null
Updated Branches:
refs/heads/wicket-6.x 0a7007774 -> 97ed9c827
WICKET-5386 ChainingModel should not check if the modelObject given as argument is null
Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/97ed9c82
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/97ed9c82
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/97ed9c82
Branch: refs/heads/wicket-6.x
Commit: 97ed9c827c60bab4d001aea4b4d97f2ba7966e79
Parents: 0a70077
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Tue Oct 29 15:03:41 2013 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Tue Oct 29 15:03:41 2013 +0200
----------------------------------------------------------------------
.../src/main/java/org/apache/wicket/model/ChainingModel.java | 3 ---
1 file changed, 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket/blob/97ed9c82/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java b/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java
index 5c3a2bf..8235a4b 100644
--- a/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java
+++ b/wicket-core/src/main/java/org/apache/wicket/model/ChainingModel.java
@@ -17,7 +17,6 @@
package org.apache.wicket.model;
import org.apache.wicket.Session;
-import org.apache.wicket.util.lang.Args;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -41,8 +40,6 @@ public abstract class ChainingModel<T> implements IChainingModel<T>
public ChainingModel(final Object modelObject)
{
- Args.notNull(modelObject, "modelObject");
-
if (modelObject instanceof Session)
{
LOG.warn("It is not a good idea to reference the Session instance "