| Summary: | [extract method] Provide more data when it's ambiguous | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Robert Konigsberg <konigsberg> |
| Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | markus.kell.r |
| Version: | 3.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Build ID: I20070323-1616 Steps To Reproduce: Create the following class public class X { public static void main(String[] args) { int x; int y; x = 1; y = 2; // THIS LINE System.out.println(x + y); } } Select the line marked "THIS LINE" and refactor/extract method. More information: Eclipse correctly response with "Ambiguous return value: selected block contains more than one assignment to local variable. It would be helpful it the dialog box listed the modified local variables.