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: | Fixable hint for "invalid method declaration; return type required" | ||
---|---|---|---|
Product: | java | Reporter: | markiewb |
Component: | Hints | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Current state, but missing the hint "add return type void" |
FYI: Similar to http://netbeans.org/bugzilla/show_bug.cgi?id=201739 |
Created attachment 132692 [details] Current state, but missing the hint "add return type void" <code> public class NewClass { method() { // error in this line } } </code> ACTUAL: * hint "rename method to NewClass" (a.k.a "rename method to create a constructor") EXPECTED: * hint "rename method to NewClass" (a.k.a "rename method to create a constructor") * hint "Add return type void" (which set the return type to void)