[ 
https://issues.apache.org/jira/browse/OFBIZ-11351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Brohl updated OFBIZ-11351:
----------------------------------
    Attachment: OFBIZ-11351_constant_names_adjust.patch

> Adjust checkstyle configuration
> -------------------------------
>
>                 Key: OFBIZ-11351
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-11351
>             Project: OFBiz
>          Issue Type: Sub-task
>          Components: Gradle
>    Affects Versions: Trunk
>            Reporter: Michael Brohl
>            Assignee: Michael Brohl
>            Priority: Minor
>         Attachments: OFBIZ-11351_constant_names_adjust.patch
>
>
> We should take an approach to fine-tune the configuration so that it better 
> fits the project style.
> As an example, constants are currently not allowed to be named "module", 
> "resource" etc. which is a common pattern in our code. Changing from 
> ^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$ to ^[a-zA-Z][a-zA-Z0-9]*(_[a-zA-Z0-9]+)*$ would 
> allow the common naming.
> Adjustments should be proposed here and decided upon.



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

Reply via email to