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.
[ BUILD # : 20101215 ] [ JDK VERSION : 1.6.22 ] In the following; @Override public int count(String... searchFilterString) { return super.count0(filterList(searchFilterString)); } @Override public List allKeys(String... searchFilterString) { return super.allKeys0(filterList(searchFilterString)); } The filterList method do not (yet) exist, it gives "Symbol not found" on the pop-up description but the hint contains "Cast..allKeys0(,,, to List..." wich is wrong, it should have been "Create method searchFilter...". And, one more thing, if you use the hint "Cast..." it will change to "Remove redundant cast".
I have disabled the hint when not appropriate: http://hg.netbeans.org/jet-main/rev/22efc0a0c3e0 http://hg.netbeans.org/jet-main/rev/d1841a8b9e32
Integrated into 'main-golden', will be available in build *201012230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/22efc0a0c3e0 User: Jan Lahoda <jlahoda@netbeans.org> Log: #193668: disabling inappropriate Add Cast hint.