cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-2287) codegen should respect VariableNamingConventions
Date Tue, 30 Jun 2009 17:44:47 GMT

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


Mime
View raw message