You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by sv...@apache.org on 2016/07/24 18:47:00 UTC

wicket git commit: WICKET-6215 use getModel().setObject(null) ínstead

Repository: wicket
Updated Branches:
  refs/heads/wicket-7.x c4583b1bd -> 6ebd64afc


WICKET-6215 use getModel().setObject(null) �nstead


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

Branch: refs/heads/wicket-7.x
Commit: 6ebd64afc878a45b070d72adfcda797b9550fe08
Parents: c4583b1
Author: Sven Meier <sv...@apache.org>
Authored: Sun Jul 24 20:46:19 2016 +0200
Committer: Sven Meier <sv...@apache.org>
Committed: Sun Jul 24 20:46:39 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/wicket/markup/html/form/PasswordTextField.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/6ebd64af/wicket-core/src/main/java/org/apache/wicket/markup/html/form/PasswordTextField.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/PasswordTextField.java b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/PasswordTextField.java
index 18b923c..a5224d1 100644
--- a/wicket-core/src/main/java/org/apache/wicket/markup/html/form/PasswordTextField.java
+++ b/wicket-core/src/main/java/org/apache/wicket/markup/html/form/PasswordTextField.java
@@ -128,7 +128,7 @@ public class PasswordTextField extends TextField<String>
 			clearInput();
 
 			if (getModel() != null) {
-				setModelObject(null);
+				getModel().setObject(null);
 			}
 		}