diff --git a/build.gradle b/build.gradle index f59e2ab4843f..dad96a67475d 100644 --- a/build.gradle +++ b/build.gradle @@ -86,7 +86,7 @@ ext { // * Temporarily comment out "-Werror" elsewhere in this file // * Repeatedly run `./gradlew clean compileJava` and fix all errors // * Uncomment "-Werror" - errorprone : '2.48.0', + errorprone : '2.49.0', // NOTE: Google Java Format requires JDK 17 or higher as of version 1.25.0. googleJavaFormat : '1.25.2', hashmapUtil : '0.0.1', diff --git a/checker/src/main/java/org/checkerframework/checker/interning/InterningVisitor.java b/checker/src/main/java/org/checkerframework/checker/interning/InterningVisitor.java index a76f00083cf4..43bf801fc568 100644 --- a/checker/src/main/java/org/checkerframework/checker/interning/InterningVisitor.java +++ b/checker/src/main/java/org/checkerframework/checker/interning/InterningVisitor.java @@ -655,7 +655,7 @@ private boolean suppressEarlyEquals(BinaryTree topBinaryTree) { Heuristics.Matcher matcherEqOrEquals = new Heuristics.Matcher() { - /** Returns true if e is either "e1 != null" or "e2 != null". */ + /* Returns true if e is either "e1 != null" or "e2 != null". */ private boolean isNeqNull( ExpressionTree e, ExpressionTree e1, ExpressionTree e2) { e = TreeUtils.withoutParens(e); diff --git a/framework/src/main/java/org/checkerframework/common/returnsreceiver/FluentAPIGenerator.java b/framework/src/main/java/org/checkerframework/common/returnsreceiver/FluentAPIGenerator.java index 9ee4726cd9a9..8e1eee273d80 100644 --- a/framework/src/main/java/org/checkerframework/common/returnsreceiver/FluentAPIGenerator.java +++ b/framework/src/main/java/org/checkerframework/common/returnsreceiver/FluentAPIGenerator.java @@ -48,7 +48,7 @@ private enum FluentAPIGenerators { */ AUTO_VALUE { - /** + /* * The qualified name of the AutoValue Builder annotation. This needs to be constructed * dynamically due to a side effect of the shadow plugin. See {@link * #getAutoValueBuilderCanonicalName()} for more information. @@ -88,7 +88,7 @@ public boolean returnsThis(AnnotatedExecutableType t) { return false; } - /** + /* * Get the qualified name of the AutoValue Builder annotation. This method constructs * the String dynamically, to ensure it does not get rewritten due to relocation of the * {@code "com.google"} package during the build process.