Repository: knox Updated Branches: refs/heads/master c4b35aaff -> 8a173d139
KNOX-1539 - Add checkstyle enforcement for array style Signed-off-by: Kevin Risden <kris...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/knox/repo Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/8a173d13 Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/8a173d13 Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/8a173d13 Branch: refs/heads/master Commit: 8a173d139c19ab155022c175e24bd00d26cdbe2d Parents: c4b35aa Author: Kevin Risden <kris...@apache.org> Authored: Thu Nov 15 15:33:44 2018 -0500 Committer: Kevin Risden <kris...@apache.org> Committed: Thu Nov 15 16:05:14 2018 -0500 ---------------------------------------------------------------------- build-tools/src/main/resources/build-tools/checkstyle/checker.xml | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/knox/blob/8a173d13/build-tools/src/main/resources/build-tools/checkstyle/checker.xml ---------------------------------------------------------------------- diff --git a/build-tools/src/main/resources/build-tools/checkstyle/checker.xml b/build-tools/src/main/resources/build-tools/checkstyle/checker.xml index 50af2f6..d3d4b5f 100644 --- a/build-tools/src/main/resources/build-tools/checkstyle/checker.xml +++ b/build-tools/src/main/resources/build-tools/checkstyle/checker.xml @@ -64,6 +64,8 @@ limitations under the License. <module name="EmptyStatement"/> <!-- Require hash code override when equals is --> <module name="EqualsHashCode"/> + <!-- Enforce array type style --> + <module name="ArrayTypeStyle"/> <!-- Disallow unnecessary instantiation of Boolean, String --> <!--<module name="IllegalInstantiation"> <property name="classes" value="java.lang.Boolean, java.lang.String"/>