| Summary: | [extract constant] uses wrong naming conventions | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Tobias Widmer <tobias_widmer> |
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.1 | ||
| Target Milestone: | 3.3 M7 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 85946 | ||
| Bug Blocks: | |||
Unhappy, but not critical enough for RC3. IMO, it should not use any prefix/suffix at all, unless core adds special prefix/suffix for static final constants. Depends on bug 85946. Works fine in I20070327-0800 (currently uses no prefix/suffix). |
3.1 RC2 package p; import java.util.ArrayList; import java.util.List; public class Test { public void foo() { List<String> list= new ArrayList<String>(); } } - Invoke Extract Constant on the class instance creation -> Proposed name uses prefix/suffix of local variables. -> It should use prefix/suffix for static fields