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 254003 - NetBeans rejects to apply pull up method refactoring
Summary: NetBeans rejects to apply pull up method refactoring
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-30 13:02 UTC by melmongiovi
Modified: 2015-07-30 13:37 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description melmongiovi 2015-07-30 13:02:47 UTC
It rejects to apply the pull up method refactoring in B.m method.
The tool could pull up the method and replace the abstract method by its implementation.

public abstract class A {
    public abstract void m();   
}
class B extends A {
    public void m() {}    
}