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.
Created attachment 107735 [details] Proposed patch, minus apichanges It is awkward to type NbModuleSuite.create(NbModuleSuite.createConfiguration(...).someParam().otherParam()) because you start out with the createConfiguration call but then code completion does not tell you where to continue. Nicer to be able to type return NbModuleSuite.createConfiguration(...).someParam().otherParam().suite();
OK + eat your own food: use config.suite() instead of new S(config);
core-main #11992e3b2187 (and also some usages in core-main #c21c679af7a5).
Integrated into 'main-golden', will be available in build *201105200400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/11992e3b2187 User: Jesse Glick <jglick@netbeans.org> Log: #197720: Add NbModuleSuite.Configuration.suite() method as a convenience.