codegen should respect VariableNamingConventions
------------------------------------------------

                 Key: CXF-2287
                 URL: https://issues.apache.org/jira/browse/CXF-2287
             Project: CXF
          Issue Type: Improvement
          Components: Tooling
    Affects Versions: 2.2.2
            Reporter: Dennis Kieselhorst
            Priority: Minor


Codegen should respect VariableNamingConventions: 
http://pmd.sourceforge.net/rules/naming.html#VariableNamingConventions

Example violations:

Variables that are final and static should be in all caps.

    private final static QName _InvalidParameterException_QNAME = new 
QName("java:de.osc.ewetel.scopusonline.common.exceptions", 
"InvalidParameterException");

    public final static QName MyPort = new QName("http://www.mydomain.de";, 
"MyPort");


Variables that are not final should not contain underscores (except for 
underscores in standard prefix/suffix).

    @XmlElement(name = "Boolean")
    protected boolean _boolean;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to