struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4016) Refactor validationType to be an Enum and not a String
Date Sun, 17 Mar 2013 17:35:14 GMT

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

Lukasz Lenart commented on WW-4016:
-----------------------------------

No, if needed I will rename it - there are some tasks to do in validators' area ;-)
                
> Refactor validationType to be an Enum and not a String
> ------------------------------------------------------
>
>                 Key: WW-4016
>                 URL: https://issues.apache.org/jira/browse/WW-4016
>             Project: Struts 2
>          Issue Type: Sub-task
>          Components: XML Validators
>    Affects Versions: 2.3.12
>            Reporter: Lukasz Lenart
>            Priority: Minor
>             Fix For: 2.3.13
>
>
> Right no validatorType is a simple String in AnnotationValidationConfigurationBuilder
which can lead to mistakes.
> {code:java}
> String validatorType = "regex";
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message