Project: JDT
Bug 26453 Use of extracted constant should be qualified by class name
Reported: 2002-11-15 05:49:54 | Status: resolved fixed

When extracting a constant the constant should be qualified by the enclosing class name since its static. e.g. return "foo"; replaced by return Enclosing.FOO_CONSTANTS

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractConstantInputPage.java