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: | @@ in annotation | ||
---|---|---|---|
Product: | contrib | Reporter: | Pavel Flaska <pflaska> |
Component: | Jackpot | Assignee: | _ tball <tball> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Suggested patch |
Description
Pavel Flaska
2006-03-28 09:08:00 UTC
The first @ character is printed by VeryPretty.printAnnotations() and second is printed by VeryPretty.visitAnnotation(). It seems to me it is enough to remove line which prints @ in printAnnotations. at org.netbeans.jackpot.pretty.VeryPretty.*visitAnnotation*(VeryPretty.java:1484) at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.java:1774) at org.netbeans.jackpot.pretty.VeryPretty.printExpr(VeryPretty.java:286) at org.netbeans.jackpot.pretty.VeryPretty.printNoParenExpr(VeryPretty.java:302) at org.netbeans.jackpot.pretty.VeryPretty.*printAnnotations*(VeryPretty.java:462) Created attachment 29440 [details]
Suggested patch
Applied patch. Thanks for the fix! Fixed. v. |