This is an automated email from the ASF dual-hosted git repository.
vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git
The following commit(s) were added to refs/heads/master by this push:
new 75fe23d1aa chore: add errorprone rule to enforce braces for control
flow
75fe23d1aa is described below
commit 75fe23d1aa1fa7ef2ae61a0b147a92bf923d624d
Author: Vladimir Sitnikov <[email protected]>
AuthorDate: Thu Oct 9 21:27:26 2025 +0300
chore: add errorprone rule to enforce braces for control flow
See https://errorprone.info/bugpattern/MissingBraces
See
https://google.github.io/styleguide/javaguide.html#s4.1.1-braces-always-used
---
.../verification/src/main/kotlin/build-logic.errorprone.gradle.kts | 1 +
1 file changed, 1 insertion(+)
diff --git
a/build-logic/verification/src/main/kotlin/build-logic.errorprone.gradle.kts
b/build-logic/verification/src/main/kotlin/build-logic.errorprone.gradle.kts
index 740919157a..94d7249a2e 100644
--- a/build-logic/verification/src/main/kotlin/build-logic.errorprone.gradle.kts
+++ b/build-logic/verification/src/main/kotlin/build-logic.errorprone.gradle.kts
@@ -47,6 +47,7 @@ if (buildParameters.enableErrorprone) {
disableWarningsInGeneratedCode.set(true)
enable(
"MissingDefault",
+ "MissingBraces",
"PackageLocation",
"RedundantOverride",
"StronglyTypeTime",