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 182073 - [69cat] Suspicious Method Call Hint not working properly
Summary: [69cat] Suspicious Method Call Hint not working properly
Status: RESOLVED DUPLICATE of bug 181930
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P4 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-15 20:39 UTC by javydreamercsw
Modified: 2010-03-16 08:09 UTC (History)
0 users

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 javydreamercsw 2010-03-15 20:39:18 UTC
[ BUILD # : 201003140200 ]
[ JDK VERSION : 1.6.* ]

Using the remove(int) method of a Vector and/or ArrayList is marked with this
hint if the Vector and/or ArrayList  type specified is non-integer.

For Example:

ArrayList <String> test = new ArrayList<String>();
test.add("Test");
>test.remove(0);

It acts as you are making a call to remove(Object);

Probably not a biggie but it can feel you editor of false hints if you use that
a lot.
Comment 1 Jan Lahoda 2010-03-16 08:09:47 UTC
Already reported as bug #181930. Thanks for the report anyway.

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