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: | Annotation glyph rendering does not respect severity | ||
---|---|---|---|
Product: | editor | Reporter: | Petr Hejl <phejl> |
Component: | Hints & Annotations | Assignee: | issues@editor <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | abadea |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Petr Hejl
2007-06-22 21:59:53 UTC
This is probably a defect. Have: public class Main implements Callable<Void> { public Void call() { return null; } } The "public Void call()" line is annotated with an overrides annotation. When the "return null" line is removed (I use Ctrl+E), the "public Void call" line is also annotated with a "missing return statement" error. Sometimes (randomly, it seems) the overrides annotation takes priority over the error annotation, making it difficult to see what's wrong. *** This issue has been marked as a duplicate of 105808 *** |