From c5e5a9e4561960dd7fe190e4c3f5a32e64cf26ea Mon Sep 17 00:00:00 2001 From: "P. Ottlinger" Date: Mon, 16 Dec 2024 23:27:32 +0100 Subject: [PATCH] WHISKER-18: Try to find windows build failures on GHA --- .../src/it/example-copyright-notices/verify.groovy | 2 +- .../test/java/org/apache/creadur/whisker/it/TestAnyCheck.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apache-whisker-maven-plugin/src/it/example-copyright-notices/verify.groovy b/apache-whisker-maven-plugin/src/it/example-copyright-notices/verify.groovy index 31501ad0..b5554c1f 100644 --- a/apache-whisker-maven-plugin/src/it/example-copyright-notices/verify.groovy +++ b/apache-whisker-maven-plugin/src/it/example-copyright-notices/verify.groovy @@ -29,7 +29,7 @@ if (licenseIsMissing(basedir)) { } if (results.hasFailed()) { - return results.report(); + return results.report().every(); } else { license = licenseIn(basedir) license.expectThat(aLineContainsCDDL1()) diff --git a/apache-whisker-maven-plugin/src/test/java/org/apache/creadur/whisker/it/TestAnyCheck.java b/apache-whisker-maven-plugin/src/test/java/org/apache/creadur/whisker/it/TestAnyCheck.java index 7053bc71..c61489e5 100644 --- a/apache-whisker-maven-plugin/src/test/java/org/apache/creadur/whisker/it/TestAnyCheck.java +++ b/apache-whisker-maven-plugin/src/test/java/org/apache/creadur/whisker/it/TestAnyCheck.java @@ -34,7 +34,7 @@ public class TestAnyCheck extends TestCase { protected void setUp() throws Exception { super.setUp(); results = new Results(); - checks = new ArrayList(); + checks = new ArrayList<>(); } protected void tearDown() throws Exception {