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.
Summary: | Remove import for component when component deleted | ||
---|---|---|---|
Product: | javame | Reporter: | Lukas Hasik <lhasik> |
Component: | Visual Designer | Assignee: | Karol Harezlak <kharezlak> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Lukas Hasik
2007-03-21 14:30:07 UTC
Changing to enhancement. There is no way to find whether a particular import statement was autogenerated or entered by an user. Therefore I would rather invoke optimize-import-section action. increasing priority doesn't mater if it's bug or enhancement... Imagine a situation that you added a SVG component by mistake. You delete it but it's not enought... Anyway it is not easy to implement it e.g. there could be a case where a custom component is used somewhere in the user-code. Therefore the correct fix is to inspect whole source code or to invoke optimize-import action. Very likely it will not be fixed in NB6.0. |