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 8020 - MethodElement.setBody() reformats code
Summary: MethodElement.setBody() reformats code
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-25 19:07 UTC by Svata Dedic
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2000-10-25 19:07:15 UTC
When setBody is used to add a body (instead of ;), the whole method is
regenerated. This change amount of whitespaces in the method's header and/or the
Javadoc comment.
Removing the body (setBody(null)) does not even work.
Comment 1 Jan Becicka 2000-11-03 14:43:59 UTC
[1137] Verified
Comment 2 Quality Engineering 2003-07-01 13:19:05 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.