You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Bozhong Lin (JIRA)" <ji...@apache.org> on 2007/07/30 10:06:53 UTC

[jira] Closed: (CXF-362) wsdltojava generated code has inconsistent style

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