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 192791 - Hint "Suspicious method call" on List.remove(int)
Summary: Hint "Suspicious method call" on List.remove(int)
Status: RESOLVED DUPLICATE of bug 183367
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.0
Hardware: All All
: P4 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 11:32 UTC by rcasha
Modified: 2010-12-06 16:03 UTC (History)
1 user (show)

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 rcasha 2010-12-02 11:32:47 UTC
Product Version = NetBeans IDE Dev (Build 201011280001)
Operating System = Linux version 2.6.35-23-generic-pae running on i386
Java; VM; Vendor = 1.6.0_23-ea
Runtime = Java HotSpot(TM) Client VM 19.0-b09

The editor shows a warning when I invoke the remove(int i) method in java.util.List. Since this method is overridden, taking an Object or an int as parameter, this warning should not be shown for ints.
Comment 1 Jesse Glick 2010-12-06 16:03:01 UTC

*** This bug has been marked as a duplicate of bug 183367 ***