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 11003

Summary: Bad indentation of method body after adding code line into it.
Product: java Reporter: Karel Gardas <kgardas>
Component: UnsupportedAssignee: issues@java <issues>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Archive of test example

Description Karel Gardas 2001-04-03 16:52:44 UTC
Please try provided test
Comment 1 Karel Gardas 2001-04-03 16:54:56 UTC
Created attachment 980 [details]
Archive of test example
Comment 2 David Konecny 2001-04-04 08:00:24 UTC
What should be in attachement? In which format is the file? When I donwloaded 
it I got some binary file.
Comment 3 Karel Gardas 2001-04-04 08:06:22 UTC
This is bug.tar.gz file. If you have UNIX please uncompres it with tar -xzvf
<file>. If you have windows please use recent version of WinZip.

Note: If you have UNIX you can use program 'file' for determining MIME-type of file.
Comment 4 David Konecny 2001-04-04 10:21:45 UTC
It seems to me that MethodElement.setBody does not call Editor's formatting. Can 
somebody from Java module please check if I'm right or not?
Comment 5 Svata Dedic 2001-04-04 13:47:30 UTC
Shame on me - you are right :-( Adding a new body works OK, adding a method
works, but changing existing body does not.
Comment 6 Svata Dedic 2001-04-04 13:51:30 UTC
Fixed in dev & release 3.2, try in the next build.
Comment 7 Jan Becicka 2001-05-03 11:05:57 UTC
[010502_1] Verified
Comment 8 Jan Chalupa 2001-05-05 23:25:07 UTC
Target milestone -> 3.2
Comment 9 Quality Engineering 2003-07-01 13:19:53 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.