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 91101

Summary: Refactoring removes code
Product: java Reporter: ssoong <ssoong>
Component: UnsupportedAssignee: Pavel Flaska <pflaska>
Status: RESOLVED FIXED    
Severity: blocker CC: mmirilovic
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Before refactoring
After Refactoring

Description ssoong 2006-12-15 00:17:17 UTC
NetBeans IDE 6.0 Dev (Build 200612121900)
1.5.0_05; Java HotSpot(TM) Client VM 1.5.0_05-b05
Windows XP version 5.1 running on x86
==================================================
Comment 1 ssoong 2006-12-15 00:18:09 UTC
Created attachment 36679 [details]
Before refactoring
Comment 2 ssoong 2006-12-15 00:18:50 UTC
Created attachment 36680 [details]
After Refactoring
Comment 3 ssoong 2006-12-15 00:20:43 UTC
Notice that within-method refactoring removes lines of codes.
Comment 4 Jan Becicka 2006-12-18 18:34:38 UTC
Pavle, can you take a look at it? Thanks
Comment 5 Pavel Flaska 2006-12-21 13:41:45 UTC
Checking in src/org/netbeans/modules/java/source/save/CasualDiff.java;
/cvs/java/source/src/org/netbeans/modules/java/source/save/CasualDiff.java,v 
<--  CasualDiff.java
new revision: 1.21; previous revision: 1.20
done
Checking in test/unit/src/org/netbeans/api/java/source/gen/BodyStatementTest.java;
/cvs/java/source/test/unit/src/org/netbeans/api/java/source/gen/BodyStatementTest.java,v
 <--  BodyStatementTest.java
new revision: 1.3; previous revision: 1.2
done
Comment 6 Pavel Flaska 2006-12-21 15:26:43 UTC
Checking in src/org/netbeans/modules/java/source/save/CasualDiff.java;
/cvs/java/source/src/org/netbeans/modules/java/source/save/CasualDiff.java,v 
<--  CasualDiff.java
new revision: 1.22; previous revision: 1.21
done
Checking in test/unit/src/org/netbeans/api/java/source/gen/BodyStatementTest.java;
/cvs/java/source/test/unit/src/org/netbeans/api/java/source/gen/BodyStatementTest.java,v
 <--  BodyStatementTest.java
new revision: 1.4; previous revision: 1.3
done
Comment 7 Pavel Flaska 2006-12-21 15:50:16 UTC
*** Issue 91416 has been marked as a duplicate of this issue. ***