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 156677 - Fix Import adds superfluous import
Summary: Fix Import adds superfluous import
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rastislav Komara
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-01-13 13:07 UTC by Alexandr Scherbatiy
Modified: 2009-01-22 10:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-01-13 13:07:38 UTC
JavaFX_NB_Plugin_Franca_NB_65_fixes_latest_SDK: #41 	13-Jan-2009 00:11:09
  Product Version         = NetBeans IDE 6.5 (Build 200901071801)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_11; Java HotSpot(TM) Client VM 11.0-b16; Sun Microsystems Inc.

Steps to reproduce:

- Type 'Circle{}' in the editor
- Fix imports
The result is
---------------------------------------------------- 
import java.lang.String;
import javafx.scene.shape.Circle;
Circle{}
---------------------------------------------------- 

The 'import java.lang.String;' line is superfluous.
Comment 1 David Strupl 2009-01-13 13:15:09 UTC
Fix imports --> Rasta.
Comment 2 Rastislav Komara 2009-01-21 13:26:49 UTC
Fixed.
Comment 3 Alexandr Scherbatiy 2009-01-22 10:29:26 UTC
verified in JavaFX_NB_Plugin_Franca_NB_65_fixes #50 22-Jan-2009 00:11:59