[ checkstyle-Bugs-3552667 ] @Target({}) yields warning in AnnotationsUseStyle

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ checkstyle-Bugs-3552667 ] @Target({}) yields warning in AnnotationsUseStyle

SourceForge.net
Bugs item #3552667, was opened at 2012-07-31 09:12
Message generated for change (Tracker Item Submitted) made by bkimminich
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=3552667&group_id=29721

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bjoern Kimminich (bkimminich)
Assigned to: Nobody/Anonymous (nobody)
Summary: @Target({}) yields warning in AnnotationsUseStyle

Initial Comment:
There should be an exceptional handling of the meta-annotation @Target({}) in the AnnotationsUseStyle check. Currently it is reported as "Annotations cannot have closing parenthesis" when using the closingParens:never option. As this is a meta-exception it should be excluded from the validation.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=3552667&group_id=29721

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Checkstyle-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel