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.
[NetBeans 200508071800; WinXP; JDK 1.5.0_04] Issue summary: -------------- Push down adds an extra line on beginning of pushed method in target class. Steps to reproduce: ------------------- 1. Create two classes, Parent.java and Child.java. 2. Add into Parent.java following code: public String pokus() { return ""; } 3. Execute push down refactoring on method pokus(). -> The following code is created in Child.java: public String pokus() { return ""; }
Looks like an issue for Pavel :)
Checking in java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/BehavioralFeatureImpl.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/BehavioralFeatureImpl.java,v <-- BehavioralFeatureImpl.java new revision: 1.12; previous revision: 1.11 done Checking in refactoring/test/unit/data/goldenfiles/org/netbeans/test/refactoring/pullup/PullUpRefactoringTest/TestBaseClass.pass; /cvs/refactoring/test/unit/data/goldenfiles/org/netbeans/test/refactoring/pullup/PullUpRefactoringTest/TestBaseClass.pass,v <-- TestBaseClass.pass new revision: 1.2; previous revision: 1.1 done
It works fine now. Verified in 200508281800.
Reorganization of java component