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 233502 - Hints don't offer to create a new method when a method exists with different parameters
Summary: Hints don't offer to create a new method when a method exists with different ...
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Hints (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-26 15:05 UTC by ecerichter
Modified: 2013-08-01 02:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the issue (34.69 KB, image/png)
2013-07-26 15:06 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-07-26 15:05:25 UTC
Product Version = NetBeans IDE Dev (Build 201307252300)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.25-b01

I _believe_ that NetBeans offered this option in the past (but I'm not sure): when developer uses a method but with different set of parameters, hints offer to create a new method with the new set of parameters.
But at this point, seems that this option is not offered anymore.

See attached screenshot that show there is the correct alert (that method doesn't exists) but in the image below there is no option to create the new method...

Please let me know if you need additional information.

Regards,

Edson
Comment 1 ecerichter 2013-07-26 15:06:08 UTC
Created attachment 137866 [details]
Screenshot of the issue
Comment 2 Jan Lahoda 2013-07-30 15:24:56 UTC
Fixed:
http://hg.netbeans.org/jet-main/rev/c16460478c67
Comment 3 Quality Engineering 2013-08-01 02:33:27 UTC
Integrated into 'main-silver', will be available in build *201307312300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c16460478c67
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #233502: incompatible type error can now be produced instead of unresolvable error.