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 108126 [details] Screenshots showing the code state before and after applying the fix The "Replace Map with EnumMap" hint fix only partially works. While it adds the correct enum class argument to EnumMap's constructor, it neglects to actually swap out 'new HashMap' with 'new EnumMap'. The screenshot should illustrate this sufficiently.
Good catch, thank you! http://hg.netbeans.org/jet-main/rev/7373939a6913
Integrated into 'main-golden', will be available in build *201105060000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/7373939a6913 User: Jan Lahoda <jlahoda@netbeans.org> Log: #198335: Correcting the fix for HashMap->EnumMap conversion.