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 142281 - [65cat] Assign return value gives duplicate assignment
Summary: [65cat] Assign return value gives duplicate assignment
Status: RESOLVED DUPLICATE of bug 142199
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-30 17:49 UTC by dynamite
Modified: 2008-07-30 18:00 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 dynamite 2008-07-30 17:49:54 UTC
[ BUILD # : 200807300201 ]
[ JDK VERSION : 1.6.0_07 ]

 new HashSet<String>();

place carrot over HashSet and choose the "Assign Return Value To New
Variable" refactoring and you get

HashSet<String> hashSet = HashSet<String> hashSet = new
HashSet<String>();

With the carrot after the first hashSet variable.
Comment 1 Petr Dvorak 2008-07-30 18:00:02 UTC

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