Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 318612

Summary: [clean up] Remove qualifier names if they are not needed
Product: [Eclipse Project] JDT Reporter: Lars Svensson <oxvalley>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, srikanth_sankaran
Version: 3.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Lars Svensson CLA 2010-07-01 10:34:28 EDT
Build Identifier: 

I often get casses where I get more than one class withthe same name, and is forced to use full qulifiers like org.core.MyClass. Sometimes I stop using the other class called MyClass. 

I would like a cleanup action "If full qualifier is not necessary, remove it", which would go through my code and remove "org.core." everywhere, if my class is the only one with this name, and make an import instead.

Reproducible: Always
Comment 1 Srikanth Sankaran CLA 2010-07-02 00:48:12 EDT
Forward to JDT/UI for comment and possible follow up.
Comment 2 Dani Megert CLA 2010-07-28 08:40:16 EDT

*** This bug has been marked as a duplicate of bug 112999 ***