From 52a8ab2b293f84fe7d761a4a071b57ee6bc6fe00 Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Wed, 10 Jan 2024 15:35:58 +0100 Subject: [PATCH 1/2] Remove doubled empty final line from CHANGES --- CHANGES.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index 3476c384c..6fd406cd9 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1220,4 +1220,3 @@ Airbase 2 Airbase 1 * Initial release - From 6c5dc9b0d0f2841cef360e1597dc28a27e2f39ab Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Wed, 10 Jan 2024 15:42:56 +0100 Subject: [PATCH 2/2] Forbid no/abundant whitespace before array initializer Forbid these new int[]{... new int[] {.... --- CHANGES.md | 4 ++++ .../src/main/resources/checkstyle/airbase-checks.xml | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 6fd406cd9..b841235ce 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,7 @@ +Airbase 155 +* Checkstyle updates: + - Require exactly one space between array type and array initializer. + Airbase 154 * Fix javadoc building when `air.compiler.enable-preview` is set diff --git a/airbase-policy/src/main/resources/checkstyle/airbase-checks.xml b/airbase-policy/src/main/resources/checkstyle/airbase-checks.xml index eb8c158df..8e6281cab 100644 --- a/airbase-policy/src/main/resources/checkstyle/airbase-checks.xml +++ b/airbase-policy/src/main/resources/checkstyle/airbase-checks.xml @@ -256,6 +256,14 @@ + + + + + + + +