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 237660

Summary: [Extract Interface / Superclass] selected method should be auto-checked 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 2013-10-25 11:19:32 UTC
1. Assume followin java class:

public class From {

    class A{
        public void method() {
            System.out.println("1234");
        }
    }

    class C extends A {
    }
}

2. Put caret into "public void me|thod() {" and from main menu select Refactor > [Extract Interface] / [Extract Interface]

>> In occured dialog, method() should be automatically checked (as you call Push Down)

Product Version: NetBeans IDE 7.4 (Build 201310111528)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)