[ 
https://issues.apache.org/jira/browse/WW-5304?focusedWorklogId=856648&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-856648
 ]

ASF GitHub Bot logged work on WW-5304:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Apr/23 07:25
            Start Date: 13/Apr/23 07:25
    Worklog Time Spent: 10m 
      Work Description: 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





Issue Time Tracking
-------------------

    Worklog Id:     (was: 856648)
    Time Spent: 1h  (was: 50m)

> Drop deprecated methods from ActionContext
> ------------------------------------------
>
>                 Key: WW-5304
>                 URL: https://issues.apache.org/jira/browse/WW-5304
>             Project: Struts 2
>          Issue Type: Improvement
>            Reporter: Lukasz Lenart
>            Priority: Minor
>             Fix For: 6.2.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Remove all the deprecated methods



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to