Bug 106670

Summary: [extract constant] Extract constant doesn't remove original expression occurrence.
Product: [Eclipse Project] JDT Reporter: Brian Miller <bmiller>
Component: UIAssignee: Markus Keller <markus.kell.r>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3    
Version: 3.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug

Description Brian Miller CLA 2005-08-10 14:28:04 EDT
Extract constant from the singleton invocation.  See that the original 
invocation should have been removed but wasn't.

------------------------ Bug.java -----------------
import static java.util.Collections.*;
class Bug {
    {
        singleton(Bug.class);
    }
}
Comment 1 Eclipse Genie CLA 2020-07-23 09:44:22 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Eclipse Genie CLA 2022-09-10 19:16:53 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.