cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bozhong Lin (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CXF-362) wsdltojava generated code has inconsistent style
Date Mon, 30 Jul 2007 08:06:53 GMT

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

Bozhong Lin closed CXF-362.
---------------------------

    Resolution: Fixed

http://svn.apache.org/viewvc?view=rev&rev=559762

> wsdltojava generated code has inconsistent style
> ------------------------------------------------
>
>                 Key: CXF-362
>                 URL: https://issues.apache.org/jira/browse/CXF-362
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.0-RC
>            Reporter: Peter Jones
>            Assignee: jimma
>            Priority: Trivial
>             Fix For: 2.0.1
>
>
> The java generated by wsdl2java has some inconsistencies in white space, brackets etc.
 It would be nice for all generated code to be consistent and to pass check style checks.
> For an example, run "WsdlToJava -all" against the hello_world.wsdl in the distribution.
> The constructor in GreeterServer.java has nice spacing:
>     protected GreeterServer() throws Exception {
>         System.out.println("Starting Server");
>         Object implementor = new GreeterImpl();
>         String address = "http://localhost:9000/SoapContext/SoapPort";
>         Endpoint.publish(address, implementor);
>     }
> compared to the spacing and brackets from the pingMe operation from GreeterImpl.java:
>     /* (non-Javadoc)
>      * @see org.apache.hello_world_soap_http.Greeter#pingMe(*
>      */
>     public void pingMe()
>  throws PingMeFault       {
>        LOG.info("Executing operation pingMe");
>     //throw new PingMeFault("PingMeFault...");
>     }

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