You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "lukaszlenart (via GitHub)" <gi...@apache.org> on 2023/04/13 07:25:32 UTC

[GitHub] [struts] lukaszlenart commented on a diff in pull request #680: [WW-5304] Drops deprecated methods and fields in ActionContext

lukaszlenart commented on code in PR #680:
URL: https://github.com/apache/struts/pull/680#discussion_r1165112178


##########
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:
   There is already `of(Map<String, Object> context)` so I stick to the same convention



-- 
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