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 - Refactoring removes code
Summary: Refactoring removes code
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
: 91416 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-15 00:17 UTC by ssoong
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Before refactoring (73.33 KB, image/jpeg)
2006-12-15 00:18 UTC, ssoong
Details
After Refactoring (33.37 KB, image/jpeg)
2006-12-15 00:18 UTC, ssoong
Details

Note You need to log in before you can comment on or make changes to this bug.
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. ***