[ https://issues.apache.org/jira/browse/CXF-8928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andriy Redko updated CXF-8928: ------------------------------ Fix Version/s: 3.5.9 3.6.3 4.0.4 > Reduce code quality warnings in generated code > ---------------------------------------------- > > Key: CXF-8928 > URL: https://issues.apache.org/jira/browse/CXF-8928 > Project: CXF > Issue Type: Improvement > Components: Soap Binding > Reporter: Geert Ijewski > Priority: Trivial > Fix For: 3.5.9, 3.6.3, 4.0.4 > > > The cxf-codegen-plugin converts a WSDL into java classes, among them the > class for the Jax-WS Service. > In the template some class members have the modifiers "public final static". > The java standard recommends them to be in the order "public static final" > > If two or more (distinct) field modifiers appear in a field declaration, it > >is customary, though not required, that they appear in the order consistent > >with that shown above in the production for _FieldModifier_. – > >[https://docs.oracle.com/javase/specs/jls/se20/html/jls-8.html#jls-8.3.1] > > If the generated source code is checked in to source control it is common > that it will be analyzed using checkstyle, Teamscale and other linters. To > reduce linter complaints the order should be changed. -- This message was sent by Atlassian Jira (v8.20.10#820010)