Project: JDT
Bug 52352 refactor: extract local variable: default: no selection of ... for literal expressions
Reported: 2004-02-18 06:24:53 | Status: resolved fixed

When I am extracting a local variable from a trivial/literal expression, e.g. true, 100, ... I do NOT want to replace occurrences of that expression, because the next expression e.g. true may have a totally independent/orthogonal semantic and value. In all other cases (complex expressions) the current default is o.k. best regards Thorsten van Ellen

Files changed in fix:
org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractConstantRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodAnalyzer.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractMethodRefactoring.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/ExtractTempRefactoring.java org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/code/ExtractMethodInputPage.java