From e51c31732f060fe77f7b29c651869fcd40e3f103 Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Sat, 2 Mar 2024 09:41:53 +0100 Subject: [PATCH] Suggestions --- integration-tests/checkstyle.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/integration-tests/checkstyle.sh b/integration-tests/checkstyle.sh index 372bd96be4..98ba734089 100755 --- a/integration-tests/checkstyle.sh +++ b/integration-tests/checkstyle.sh @@ -62,23 +62,23 @@ format_goal='com.spotify.fmt:fmt-maven-plugin:2.21.1:format' error_prone_shared_flags='-XepExcludedPaths:(\Q${project.basedir}${file.separator}src${file.separator}\E(it|test|xdocs-examples)\Q${file.separator}resources\E|\Q${project.build.directory}${file.separator}\E).*' error_prone_patch_flags="${error_prone_shared_flags} -XepPatchLocation:IN_PLACE -XepPatchChecks:$( - find "${error_prone_support_root}" -path "*/META-INF/services/com.google.errorprone.bugpatterns.BugChecker" \ - -not -path "*/error-prone-guidelines/*" \ + find "${error_prone_support_root}" \ + -path "*/META-INF/services/com.google.errorprone.bugpatterns.BugChecker" \ -not -path "*/error-prone-experimental/*" \ + -not -path "*/error-prone-guidelines/*" \ -print0 \ | xargs -0 "${grep_command}" -hoP '[^.]+$' \ - | "${grep_command}" -v ErrorProneRuntimeClasspath \ | paste -s -d ',' - )" error_prone_validation_flags="${error_prone_shared_flags} -XepDisableAllChecks $( - find "${error_prone_support_root}" -path "*/META-INF/services/com.google.errorprone.bugpatterns.BugChecker" \ - -not -path "*/error-prone-guidelines/*" \ + find "${error_prone_support_root}" \ + -path "*/META-INF/services/com.google.errorprone.bugpatterns.BugChecker" \ -not -path "*/error-prone-experimental/*" \ + -not -path "*/error-prone-guidelines/*" \ -print0 \ | xargs -0 "${grep_command}" -hoP '[^.]+$' \ | "${sed_command}" -r 's,(.*),-Xep:\1:WARN,' \ - | "${grep_command}" -v ErrorProneRuntimeClasspath \ | paste -s -d ' ' - )"