From 1dd0ab0c5f14ed10a73b01d1e2b92ec39ee6b9e6 Mon Sep 17 00:00:00 2001 From: Joe Grandja <10884212+jgrandja@users.noreply.github.com> Date: Fri, 17 May 2024 10:14:19 -0400 Subject: [PATCH] Apply Spring checkstyle conventions Issue gh-1624 --- etc/checkstyle/checkstyle-suppressions.xml | 8 +++ etc/checkstyle/checkstyle.xml | 57 +++++----------------- etc/checkstyle/header.txt | 2 +- etc/checkstyle/suppressions.xml | 19 -------- 4 files changed, 21 insertions(+), 65 deletions(-) create mode 100644 etc/checkstyle/checkstyle-suppressions.xml delete mode 100644 etc/checkstyle/suppressions.xml diff --git a/etc/checkstyle/checkstyle-suppressions.xml b/etc/checkstyle/checkstyle-suppressions.xml new file mode 100644 index 00000000..003a53d7 --- /dev/null +++ b/etc/checkstyle/checkstyle-suppressions.xml @@ -0,0 +1,8 @@ + + + + + + diff --git a/etc/checkstyle/checkstyle.xml b/etc/checkstyle/checkstyle.xml index d7b39201..da8d0119 100644 --- a/etc/checkstyle/checkstyle.xml +++ b/etc/checkstyle/checkstyle.xml @@ -1,51 +1,18 @@ - - - + + - + - - - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + diff --git a/etc/checkstyle/header.txt b/etc/checkstyle/header.txt index 5e5d28b9..92317df0 100644 --- a/etc/checkstyle/header.txt +++ b/etc/checkstyle/header.txt @@ -1,5 +1,5 @@ ^\Q/*\E$ -^\Q * Copyright\E (\d{4}(\-\d{4})? the original author or authors\.|(\d{4}, )*(\d{4}) Acegi Technology Pty Limited)$ +^\Q * Copyright \E20\d\d\-20\d\d\Q the original author or authors.\E$ ^\Q *\E$ ^\Q * Licensed under the Apache License, Version 2.0 (the "License");\E$ ^\Q * you may not use this file except in compliance with the License.\E$ diff --git a/etc/checkstyle/suppressions.xml b/etc/checkstyle/suppressions.xml deleted file mode 100644 index 297f0624..00000000 --- a/etc/checkstyle/suppressions.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - -