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 82227 - Autofix creates an array instead of a simple variable
Summary: Autofix creates an array instead of a simple variable
Status: VERIFIED DUPLICATE of bug 72670
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 08:22 UTC by Tim Lebedkov
Modified: 2007-09-26 09:14 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 Tim Lebedkov 2006-08-09 08:22:20 UTC
In the following piece of code >swip> is undefined:
        IndexParticipant[] participants = new IndexParticipant[] {
            swip, dbip, dvip
        };

Autofix creates following as local variable and it shouldn't be an array:

IndexParticipant[] swip;
Comment 1 Jiri Prox 2006-08-09 15:10:11 UTC
Looks like duplicate of issue 72670

*** This issue has been marked as a duplicate of 72670 ***
Comment 2 Tim Lebedkov 2006-09-20 09:19:41 UTC
ok