You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/06/30 19:44:47 UTC

[jira] Resolved: (CXF-2287) codegen should respect VariableNamingConventions

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

Daniel Kulp resolved CXF-2287.
------------------------------

       Resolution: Won't Fix
    Fix Version/s: Invalid


This isn't something we have any control over.   JAXB generates these things (not us) and they are generating the code per the JAXB spec.   If its important, you would need to follow up with the jaxb folks (jaxb.dev.java.net) to get this functionality added to JAXB.

> 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.