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 240691

Summary: [Pull Up] I think interface may be also preselected in refactor dialog
Product: java Reporter: ssazonov
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: PC   
OS: Windows 7   
Issue Type: ENHANCEMENT Exception Reporter:

Description ssazonov 2014-01-20 10:12:25 UTC
1. Create java class:

package test;

public class ClassA {

    public abstract class ClassC {
    }

    public class ClassB extends ClassC implements SomeInterface {

        @Override
        public void m1() {
            System.out.println("m1");
        }
    }

    public interface SomeInterface {
        public void m1();
    }
}

(If you right click the method m1() and from pop-up menu select Refactor > Pull Up then m1() will be preselected in Pull Up dialog)

2. Right click SomeInterface in "public class ClassB extends ClassC implements SomeInterface { ... }" and from pop-up menu select Refactor > Pull Up

>> I think it may be useful, if the interface was also preselected in refactor dialog

Product Version: NetBeans IDE Dev (Build 201401200001)
Java: 1.7.0_51; Java HotSpot(TM) 64-Bit Server VM 24.51-b03
Runtime: Java(TM) SE Runtime Environment 1.7.0_51-b13
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)