[ checkstyle-Bugs-3441097 ] Inner Assignment Rule conflicting with "try-with-resources"

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

[ checkstyle-Bugs-3441097 ] Inner Assignment Rule conflicting with "try-with-resources"

SourceForge.net
Bugs item #3441097, was opened at 2011-11-22 04:57
Message generated for change (Comment added) made by
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=3441097&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: Core Framework
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Course IT Ltd (course-it)
Assigned to: Oleg Sukhodolsky (o_sukhodolsky)
Summary: Inner Assignment Rule conflicting with "try-with-resources"

Initial Comment:
I'm using Checkstyle 5.5.0.201111092104 in Eclipse 3.7.
And I'm using actively new Java 7 syntax feature - try-with-resources.
When I enable "Inner Assignment" rule Checkstyle builder highlights all "try-with-resources" blocks in code.
I propose to make a exclusion for "try-with-resources" in this rule.

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

Comment By: https://www.google.com/accounts ()
Date: 2012-07-19 23:19

Message:
Dear all,

May I know the bug fix has been included to which version of checkstyle ?

Thanks and regards,
William

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

Comment By: Oleg Sukhodolsky (o_sukhodolsky)
Date: 2011-12-04 09:49

Message:
Fixed.  Thank you for submitting the bug.

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

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=3441097&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