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.
Summary: | Add "change constructor" hint | ||
---|---|---|---|
Product: | java | Reporter: | fommil <fommil> |
Component: | Hints | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | markiewb |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Missing changed constructor |
Description
fommil
2008-04-02 21:56:57 UTC
Max volunteered :) Created attachment 130204 [details]
Missing changed constructor
For example:
<code>
public class Foo {
int a, b;
public Foo(int a, int b) {
this.a = a;
this.b = b;
}
public void method() {
new Foo(1, 2, 3);
}
}
</code>
ACTUAL: hint "create constructor Foo(int, int, int)"
EXPECTED:
* add new hint "change constructor to Foo(int, int, int)"
* (and keep) hint "create constructor Foo(int, int, int)"
See attached screenshot
Changeset: 0d6da87d8e68 Author: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Date: 2013-02-20 16:56 Integrated into 'main-golden', will be available in build *201302212300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/0d6da87d8e68 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: Issue #131873 - Add "change constructor" hint |