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 106208 - Add generic-friendly constructor to WizardDescriptor.ArrayIterator
Summary: Add generic-friendly constructor to WizardDescriptor.ArrayIterator
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: API, API_REVIEW_FAST
Depends on:
Blocks:
 
Reported: 2007-06-09 21:04 UTC by Jesse Glick
Modified: 2008-12-22 14:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch (minus obvious spec version increment & apichanges) (2.83 KB, patch)
2007-06-09 21:06 UTC, Jesse Glick
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2007-06-09 21:04:45 UTC
Currently it is impossible to use WD.AI without unchecked warnings, since it
requires a Panel<Data>[]. Simple change just adds an alternate List<Panel<Data>>
constructor which JDK 5 code can use without warnings.
Comment 1 Jesse Glick 2007-06-09 21:06:35 UTC
Created attachment 43479 [details]
Proposed patch (minus obvious spec version increment & apichanges)
Comment 2 Jesse Glick 2007-06-09 21:07:32 UTC
Please review.
Comment 3 Jaroslav Tulach 2007-06-11 09:03:24 UTC
Y01 OK
Y02 Missing test ;-?
Comment 4 Jesse Glick 2007-06-11 16:28:19 UTC
Seems too trivial to test, though of course commit validation or simple visual
inspection of the New File wizard would confirm that it is working.
Comment 5 Jesse Glick 2007-06-15 16:39:20 UTC
Checking in openide/dialogs/src/org/openide/WizardDescriptor.java;
/shared/data/ccvs/repository/openide/dialogs/src/org/openide/WizardDescriptor.java,v  <--  WizardDescriptor.java
new revision: 1.48; previous revision: 1.47
done
Checking in projects/projectui/src/org/netbeans/modules/project/ui/NewFileIterator.java;
/shared/data/ccvs/repository/projects/projectui/src/org/netbeans/modules/project/ui/NewFileIterator.java,v  <-- 
NewFileIterator.java
new revision: 1.7; previous revision: 1.6
done
Checking in openide/dialogs/apichanges.xml;
/shared/data/ccvs/repository/openide/dialogs/apichanges.xml,v  <--  apichanges.xml
new revision: 1.15; previous revision: 1.14
done
Checking in openide/dialogs/manifest.mf;
/shared/data/ccvs/repository/openide/dialogs/manifest.mf,v  <--  manifest.mf
new revision: 1.13; previous revision: 1.12
done
Checking in projects/projectui/nbproject/project.xml;
/shared/data/ccvs/repository/projects/projectui/nbproject/project.xml,v  <--  project.xml
new revision: 1.39; previous revision: 1.38
done