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

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

                Author: ASF GitHub Bot
            Created on: 18/Feb/23 15:19
            Start Date: 18/Feb/23 15:19
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart commented on code in PR #659:
URL: https://github.com/apache/struts/pull/659#discussion_r1111048936


##########
core/src/main/java/com/opensymphony/xwork2/validator/AnnotationActionValidatorManager.java:
##########
@@ -120,10 +66,20 @@ protected String buildValidatorKey(Class clazz, String 
context) {
         } else {
             sb.append(context);
         }
-
         return sb.toString();
     }
 
+    @Override
+    protected Validator getValidatorFromValidatorConfig(ValidatorConfig 
config, ValueStack stack) {
+        Validator validator = validatorFactory.getValidator(
+                new ValidatorConfig.Builder(config)
+                        .removeParam("methodName")

Review Comment:
   Looks like it does nothing right now, you can try to remove it.





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

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

> Further clean up ActionValidatorManager implementations
> -------------------------------------------------------
>
>                 Key: WW-5284
>                 URL: https://issues.apache.org/jira/browse/WW-5284
>             Project: Struts 2
>          Issue Type: Task
>          Components: Core Interceptors
>            Reporter: Kusal Kithul-Godage
>            Priority: Trivial
>             Fix For: 6.2.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>




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

Reply via email to