[ 
https://issues.apache.org/jira/browse/WW-4789?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090985#comment-17090985
 ] 

ASF GitHub Bot commented on WW-4789:
------------------------------------

JCgH4164838Gh792C124B5 commented on a change in pull request #397:
URL: https://github.com/apache/struts/pull/397#discussion_r414173368



##########
File path: core/src/main/java/com/opensymphony/xwork2/util/ValueStack.java
##########
@@ -28,23 +30,25 @@
  */
 public interface ValueStack {
 
-    public static final String VALUE_STACK = 
"com.opensymphony.xwork2.util.ValueStack.ValueStack";
+    String VALUE_STACK = "com.opensymphony.xwork2.util.ValueStack.ValueStack";

Review comment:
       Thanks for pointing out why `static final`  is redundant for interfaces 
in newer Java versions.  :)




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

For queries about this service, please contact Infrastructure at:
[email protected]


> ActionContext should be immutable
> ---------------------------------
>
>                 Key: WW-4789
>                 URL: https://issues.apache.org/jira/browse/WW-4789
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Major
>             Fix For: 2.6
>
>
> Right now ActionContext is a bag of different contexts with mixed 
> responsibility. Also some of them lay in ThreadLocal variable, but some are 
> accessed directly. Also it is easily to modify the internal state which 
> shouldn't be possible. The context should be constant during whole action 
> execution period.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to