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:15:20 UTC

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

Guillaume Boué created MNGSITE-294:
--------------------------------------

             Summary: 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)