Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#664 Inner Assignment Rule conflicting with "try-with-resources"

closed
5
2012-10-10
2011-11-22
Course IT Ltd
No

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.

Discussion

  • Fixed. Thank you for submitting the bug.

     

  • Anonymous
    2012-07-20

    Dear all,

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

    Thanks and regards,
    William