You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2016/10/02 11:19:21 UTC

[jira] [Commented] (MNGSITE-294) maven-eclipse-codestyle for try-with-resources doesn't match maven_checks.xml

    [ https://issues.apache.org/jira/browse/MNGSITE-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15540210#comment-15540210 ] 

Guillaume Boué commented on MNGSITE-294:
----------------------------------------

Fixed in [r1763052|http://svn.apache.org/viewvc?view=revision&revision=1763052].

> maven-eclipse-codestyle for try-with-resources doesn't match maven_checks.xml
> -----------------------------------------------------------------------------
>
>                 Key: MNGSITE-294
>                 URL: https://issues.apache.org/jira/browse/MNGSITE-294
>             Project: Maven Project Web Site
>          Issue Type: Bug
>            Reporter: Guillaume Boué
>            Assignee: Guillaume Boué
>
> The current version of {{maven-eclipse-checkstyle.xml}}, used to format Java code inside Eclipse, violates a rule from {{maven_checks.xml}}.
> It does not add whitespaces after the opening paren and before the closing paren in a try-with-resources construct, which is required by {{ParenPad}}:
> {noformat}
> <module name="ParenPad">
>   <property name="option" value="space" />
> </module>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)