[ checkstyle-Feature Requests-2873544 ] Add allowEmptyAnonymousClasses to WhitespaceAround check

View: New views
1 Messages — Rating Filter:   Alert me  

[ checkstyle-Feature Requests-2873544 ] Add allowEmptyAnonymousClasses to WhitespaceAround check

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Feature Requests item #2873544, was opened at 2009-10-06 15:53
Message generated for change (Tracker Item Submitted) made by mihobson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397081&aid=2873544&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: Check
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Mark Hobson (mihobson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add allowEmptyAnonymousClasses to WhitespaceAround check

Initial Comment:
Sometimes it is necessary to create empty anonymous classes inline, for example:

MyClass c = new MyClass() {};

A allowEmptyAnonymousClasses property would allow these situations to be ignored in a similar way to empty methods and constructors.

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

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

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Checkstyle-devel mailing list
Checkstyle-devel@...
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel