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 78684 - import statement for ArrayList should be added when it used
Summary: import statement for ArrayList should be added when it used
Status: RESOLVED DUPLICATE of bug 78539
Alias: None
Product: uml
Classification: Unclassified
Component: Synchronization (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-20 22:46 UTC by bugbridge
Modified: 2006-08-31 02:29 UTC (History)
1 user (show)

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 bugbridge 2006-06-20 22:46:12 UTC
Original status: 1-Dispatched; Suggested Status: NEW

Original submitter: ads

Description:
Name: xyNNNNNN			Date: 08/11/2004



Bow06.
There are number of sitation when ArrayList list is used .
Namely , when action with multiplicity is performed ArrayList may appear
in source code. It depend from Preferences and concrete action.
ArrayList is added without import statement , it leads
to inconsistent source code.
Add import statemnt ( when needed )
"import java.util.ArrayList;"
to source code while actions with multiplicity .

======================================================================
Comment 1 ossiejhmoore 2006-07-17 03:39:33 UTC
(1) This is also true for Linux, suspect this should be for *All* on OS.
(2) As workaround, tried navigating to [Tools|Options], clicking on [Advanced],
then navigating to [UML|Round Trip Engineering|Java] and setting the Collection
Override value to 'java.util.ArrayList' instead of 'ArrayList'. This did not work.
Comment 2 Craig Conover 2006-08-21 21:37:54 UTC

*** This issue has been marked as a duplicate of 78539 ***