You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2020/04/27 06:21:00 UTC
[struts] 03/03: WW-5070 Re-phrases JavaDoc for setRoot() method
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch WW-5070-root-action-model
in repository https://gitbox.apache.org/repos/asf/struts.git
commit d826efb9d09d2fc0b09a2eafde5bafc38ff3c6a8
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Mon Apr 27 08:20:39 2020 +0200
WW-5070 Re-phrases JavaDoc for setRoot() method
---
plugins/json/src/main/java/org/apache/struts2/json/JSONResult.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/json/src/main/java/org/apache/struts2/json/JSONResult.java b/plugins/json/src/main/java/org/apache/struts2/json/JSONResult.java
index ba46d96..26c1735 100644
--- a/plugins/json/src/main/java/org/apache/struts2/json/JSONResult.java
+++ b/plugins/json/src/main/java/org/apache/struts2/json/JSONResult.java
@@ -296,8 +296,8 @@ public class JSONResult implements Result {
/**
* Sets the root object to be serialized, defaults to the Action.
- * If the Action implements {@link ModelDriven}, model will be used instead
- * and assumptions is the Model was pushed on the top of the stack
+ * If the Action implements {@link ModelDriven}, the Model will be used instead,
+ * with the logic assuming the Model was pushed onto the top of the stack.
*
* @param root OGNL expression of root object to be serialized
*/