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.

Bug 124609 - FAST: The WebService-add operation wizard creates unformatted code
Summary: FAST: The WebService-add operation wizard creates unformatted code
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-02 20:19 UTC by lpolycarpou
Modified: 2008-01-21 09:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
possible fix/workaround (1.22 KB, text/plain)
2008-01-02 21:09 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lpolycarpou 2008-01-02 20:19:10 UTC
When using the WS add operation wizard to create a new WS operation, the code that is automatically created is not
properly formatted (it is somewhat unclear) and does not comply with the default formatting settings in NetBeans i.e. it
is always reformatted if you run the code formatter on it
Comment 1 Lukas Jungmann 2008-01-02 21:09:41 UTC
Created attachment 54619 [details]
possible fix/workaround
Comment 2 Lukas Jungmann 2008-01-02 21:29:07 UTC
I attached possible patch for this issue. In JUnit plugin there are javadoc comments being generated using:

Comment.create(Comment.Style.JAVADOC, -2, -2, -2, commentText) which works well too - javadoc is formatted correctly.

See also filed issue 88159.
Comment 3 Milan Kuchtiak 2008-01-21 09:12:16 UTC
Fixed.

Diff:
http://websvc.netbeans.org/source/browse/websvc/core/src/org/netbeans/modules/websvc/core/AddWsOperationHelper.java?r1=1.25&r2=1.26

I applied the solution described above.

Thank You.