Pierre Villard created NIFI-2074: ------------------------------------ Summary: Add checkstyle rule to normalize imports order Key: NIFI-2074 URL: https://issues.apache.org/jira/browse/NIFI-2074 Project: Apache NiFi Issue Type: Improvement Components: Documentation & Website, Tools and Build Reporter: Pierre Villard Priority: Minor
In order to avoid PR where imports order is uselessly modified because of the IDE formatter, it could be interesting to add a checkstyle rule to normalize the imports order so that when running -Pcontrib-check such a PR is not accepted. Since default formatting seems to be varying depending of the IDE, this should be documented (https://cwiki.apache.org/confluence/display/NIFI/Contributor+Guide#ContributorGuide-CodeStyle). Checkstyle options are documented here: http://checkstyle.sourceforge.net/config_imports.html#CustomImportOrder -- This message was sent by Atlassian JIRA (v6.3.4#6332)