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 2012/08/16 22:20:35 UTC

git commit: WICKET-4703 add javadoc that load() is not used by assigmentwrapper

Updated Branches:
  refs/heads/wicket-1.5.x e66b62cd4 -> f28287c3f


WICKET-4703 add javadoc that load() is not used by assigmentwrapper


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

Branch: refs/heads/wicket-1.5.x
Commit: f28287c3f77a51e9ffb1b9b9726f1aa157472563
Parents: e66b62c
Author: svenmeier <sv...@apache.org>
Authored: Thu Aug 16 22:20:05 2012 +0200
Committer: svenmeier <sv...@apache.org>
Committed: Thu Aug 16 22:20:05 2012 +0200

----------------------------------------------------------------------
 .../apache/wicket/model/StringResourceModel.java   |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/f28287c3/wicket-core/src/main/java/org/apache/wicket/model/StringResourceModel.java
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/model/StringResourceModel.java b/wicket-core/src/main/java/org/apache/wicket/model/StringResourceModel.java
index 12851b1..3fe4901 100644
--- a/wicket-core/src/main/java/org/apache/wicket/model/StringResourceModel.java
+++ b/wicket-core/src/main/java/org/apache/wicket/model/StringResourceModel.java
@@ -575,7 +575,13 @@ public class StringResourceModel extends LoadableDetachableModel<String>
 	}
 
 	/**
-	 * Gets the string that this string resource model currently represents.
+	 * Gets the string that this model currently represents.
+	 * <p>
+	 * Note: This method is used only if this model is used directly without assignment to a
+	 * component, it is not called by the assignment wrapper returned from
+	 * {@link #wrapOnAssignment(Component)}.
+	 * 
+	 * @see #getString()
 	 */
 	@Override
 	protected String load()