maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <j...@apache.org>
Subject [jira] [Created] (MNGSITE-294) maven-eclipse-codestyle for try-with-resources doesn't match maven_checks.xml
Date Sun, 02 Oct 2016 11:15:20 GMT
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)

Mime
View raw message