From df7e9f7f0d138d270f96924bbf492f0f18a35044 Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Wed, 3 Apr 2019 12:16:34 +0200 Subject: [PATCH] =?utf8?q?Bump=20Checkstyle=208.18=20=E2=86=92=208.20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Release notes: https://checkstyle.org/releasenotes.html#Release_8.19 https://checkstyle.org/releasenotes.html#Release_8.20 Change-Id: I1861930af1af7dc83c8b29cedc7c39adc99e9fe6 Signed-off-by: Stephen Kitt Signed-off-by: Robert Varga --- .../opendaylight/odlparent/featuretest/ReflectionUtil.java | 4 +++- .../java/org/opendaylight/odlparent/featuretest/Util.java | 4 +++- .../odlparent/featuretest/ReflectionUtilTest.java | 7 +++++-- odlparent/pom.xml | 4 ++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/features-test/src/main/java/org/opendaylight/odlparent/featuretest/ReflectionUtil.java b/features-test/src/main/java/org/opendaylight/odlparent/featuretest/ReflectionUtil.java index c8b13bd18..dcfab05b9 100644 --- a/features-test/src/main/java/org/opendaylight/odlparent/featuretest/ReflectionUtil.java +++ b/features-test/src/main/java/org/opendaylight/odlparent/featuretest/ReflectionUtil.java @@ -22,7 +22,9 @@ import org.ops4j.pax.exam.TestProbeBuilder; */ public final class ReflectionUtil { - private ReflectionUtil() {} + private ReflectionUtil() { + + } public static void addAllClassesInSameAndSubPackageOfClass(TestProbeBuilder probe, Class clazz) { addAllClassesInSameAndSubPackageOfPackage(probe, clazz.getPackage().getName()); diff --git a/features-test/src/main/java/org/opendaylight/odlparent/featuretest/Util.java b/features-test/src/main/java/org/opendaylight/odlparent/featuretest/Util.java index ef8913830..9ec0c606c 100644 --- a/features-test/src/main/java/org/opendaylight/odlparent/featuretest/Util.java +++ b/features-test/src/main/java/org/opendaylight/odlparent/featuretest/Util.java @@ -16,7 +16,9 @@ import org.junit.runner.Description; public final class Util { - private Util() {} + private Util() { + + } /** *

Convert a Description to a Description that includes information about repoUrl, featureName, and diff --git a/features-test/src/test/java/org/opendaylight/odlparent/featuretest/ReflectionUtilTest.java b/features-test/src/test/java/org/opendaylight/odlparent/featuretest/ReflectionUtilTest.java index 3ba035fbe..61b4f58ad 100644 --- a/features-test/src/test/java/org/opendaylight/odlparent/featuretest/ReflectionUtilTest.java +++ b/features-test/src/test/java/org/opendaylight/odlparent/featuretest/ReflectionUtilTest.java @@ -40,8 +40,11 @@ public class ReflectionUtilTest { @SuppressWarnings("unused") private final InnerNonStaticClass anoymousInnerClass = new InnerNonStaticClass() { }; - private static class InnerStaticClass { } + private static class InnerStaticClass { - private class InnerNonStaticClass { } + } + + private class InnerNonStaticClass { + } } diff --git a/odlparent/pom.xml b/odlparent/pom.xml index ab8ff8d16..119378c9d 100644 --- a/odlparent/pom.xml +++ b/odlparent/pom.xml @@ -108,7 +108,7 @@ com.puppycrawl.tools checkstyle - 8.18 + 8.20 @@ -1183,7 +1183,7 @@ com.puppycrawl.tools checkstyle - 8.18 + 8.20 org.opendaylight.odlparent -- 2.36.6