This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79864 - Remove all unused import
Summary: Remove all unused import
Status: CLOSED DUPLICATE of bug 127683
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Validation (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Yaroslavskiy
URL:
Keywords:
: 120371 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-07 13:30 UTC by Andrey Yamkovoy
Modified: 2009-10-28 17:58 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Yamkovoy 2006-07-07 13:30:48 UTC
It will be nice to implement feature which removes all unused namespaces from 
bpel. For example, in java class we can remove all unused imports.
Comment 1 Denis Anisimov 2006-11-03 11:42:56 UTC
I guess this should be some UI action somewhere in popup menu.

This is the same as "import statement" in java source.
Import statement is not deleted automatically if you remove all usage of imported
class ( in all java editors I knows ). There is special Action for performing 
this work : smth. like "optimize namespaces" or "organize namespaces".
The problem here in API of BPEL OM. This API doesn't allow to change
anything in namespace declaration. But it could be discussed.
Comment 2 Michael Frisino 2006-11-21 09:19:33 UTC
Denis, if you get around to working on the Go To Definition feature. This can be
worked on at the same time. Yes?
Comment 3 Jiri Prox 2007-09-17 20:26:58 UTC
Obsolete milestone, please reevaluate
Comment 4 Sergey Lunegov 2008-04-30 15:08:10 UTC
As part of validation/quick fix.
Comment 5 Vladimir Yaroslavskiy 2008-05-04 14:13:55 UTC

*** This issue has been marked as a duplicate of 120371 ***
Comment 6 Vladimir Yaroslavskiy 2008-05-06 11:22:57 UTC
reopen
Comment 7 Vladimir Yaroslavskiy 2008-05-06 11:23:17 UTC
*** Issue 120371 has been marked as a duplicate of this issue. ***
Comment 8 Vladimir Yaroslavskiy 2008-05-08 12:03:02 UTC

*** This issue has been marked as a duplicate of 127683 ***
Comment 9 terrybraun 2009-10-28 17:58:12 UTC
Aside from the circular statements that this and issue 120371 are duplicates of each other, my testing has shown that 
127683 resolves the issues in these tickets. Unused imports can be removed, and invalid imports are picked up by 
validation.

QA agrees that this is a duplicate issue and this ticket is closed to get it off the books.