| Summary: | Change Method Signature Refactoring results in compilation error | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Melina Mongiovi <melmongiovi> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | noopur_gupta |
| Version: | 4.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
Changing the return type of method A.m to "int" results in compilation error. Before Refactoring: public interface A { public abstract void m(); } class B implements A{ A a; public void m() {} } Resulting Program: public interface A { public abstract int m(); } class B implements A{ A a; public int m() {} }