[
https://issues.apache.org/jira/browse/CXF-2287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725750#action_12725750
]
Dennis Kieselhorst commented on CXF-2287:
-----------------------------------------
Ok, opened an enhancement issue:
https://jaxb.dev.java.net/issues/show_bug.cgi?id=661
> 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
> Fix For: Invalid
>
>
> 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.