This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE Dev (Build 201008200001) (#0559343619de) Operating System = Windows XP version 5.1 running on x86 Java; VM; Vendor = 1.6.0_20; Java HotSpot(TM) Client VM 16.3-b01; Sun Microsystems Inc. Steps to reproduce: - Create Web Application - Create Web Service - Go to Design view - Add operation Name: operation Return type: int Parameter Name: i Type int Parameter Name: j Type int Go to Source --------------------------------------- @WebMethod(operationName = "add") public int add(@WebParam(name = "i") int i, @WebParam(name = "j") int j) { //TODO write your implementation code here: return 0; } --------------------------------------- The method code is not formatted
After invoking the code formatting the result is: --------------------------------------------------- @WebMethod(operationName = "add") public int add(@WebParam(name = "i") int i, @WebParam(name = "j") int j) { //TODO write your implementation code here: return 0; } ---------------------------------------------------
Operation is added via org.netbeans.modules.websvc.core.AddWsOperationHelper.addOperation() method which uses Java infrastructure modification task.
http://hg.netbeans.org/jet-main/rev/f3df25b48fa5
Integrated into 'main-golden', will be available in build *201104270000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f3df25b48fa5 User: Jan Lahoda <jlahoda@netbeans.org> Log: #189707: improving handling of parameter annotations in code generator.
Integrated into 'main-golden', will be available in build *201104280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/f3df25b48fa5 User: Jan Lahoda <jlahoda@netbeans.org> Log: #189707: improving handling of parameter annotations in code generator.