You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "kusalk (via GitHub)" <gi...@apache.org> on 2023/04/13 04:22:30 UTC
[GitHub] [struts] kusalk commented on a diff in pull request #680: [WW-5304] Drops deprecated methods and fields in ActionContext
kusalk commented on code in PR #680:
URL: https://github.com/apache/struts/pull/680#discussion_r1164979614
##########
core/src/main/java/com/opensymphony/xwork2/ActionContext.java:
##########
@@ -157,6 +129,15 @@ public static ActionContext of(Map<String, Object> context) {
return new ActionContext(context);
}
+ /**
+ * Creates a new ActionContext based on empty Map
+ *
+ * @return new ActionContext
+ */
+ public static ActionContext of() {
Review Comment:
`create()` might be a more descriptive name for this method
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@struts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org