Skip to content

Commit 83a51cf

Browse files
chore(deps): Update errorprone to v2.42.0 (#746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Alexander <[email protected]>
1 parent 36db0d9 commit 83a51cf

File tree

7 files changed

+9
-3
lines changed

7 files changed

+9
-3
lines changed

cloud-annotations/src/test/java/org/incendo/cloud/annotations/AnnotationParserTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ public void testInjectedParameters(
261261
System.out.printf("Injected value: %s\n", injectableValue.toString());
262262
}
263263

264+
@SuppressWarnings({"ClassInitializationDeadlock", "EffectivelyPrivate"})
264265
@Command("class")
265266
private static class ClassCommandMethod {
266267

@@ -278,6 +279,7 @@ public void annotatedMethod() {
278279
}
279280

280281

282+
@SuppressWarnings({"ClassInitializationDeadlock", "EffectivelyPrivate"})
281283
@Bad1
282284
@CommandDescription("Hello World!")
283285
private static class AnnotatedClass {
@@ -348,6 +350,7 @@ public String toString() {
348350
}
349351

350352

353+
@SuppressWarnings("EffectivelyPrivate")
351354
private static final class AliasedCommands {
352355

353356
private static final String COMMAND_ALIASES = "acommand|analias|anotheralias";

cloud-annotations/src/test/java/org/incendo/cloud/annotations/issue/Issue450.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ void testPrefixedAlias() {
6464
).join();
6565
}
6666

67+
@SuppressWarnings({"ClassInitializationDeadlock", "EffectivelyPrivate"})
6768
private static class TestCommandClass {
6869

6970
@Command("/command|/cmd")

cloud-core/src/main/java/org/incendo/cloud/description/Description.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
@API(status = API.Status.STABLE)
4040
public interface Description {
4141

42+
@SuppressWarnings("ClassInitializationDeadlock")
4243
Description EMPTY = DescriptionImpl.of("");
4344

4445
/**

cloud-core/src/test/java/org/incendo/cloud/CommandTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
class CommandTest {
3434

35-
@Test()
35+
@Test
3636
void noArguments() {
3737
assertThat(
3838
Command

cloud-core/src/test/java/org/incendo/cloud/ParameterInjectorRegistryTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void testNonExistentInjection() {
125125
assertThat(result).isEmpty();
126126
}
127127

128-
@SuppressWarnings("unused")
128+
@SuppressWarnings({"unused", "UnnecessaryQualifier"})
129129
private static void testAnnotatedMethod(@TestAnnotation final Integer ignored) {}
130130

131131

cloud-core/src/test/java/org/incendo/cloud/util/TestUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ public final class TestUtils {
4848
private TestUtils() {
4949
}
5050

51+
@SuppressWarnings({"ClassInitializationDeadlock", "EffectivelyPrivate"})
5152
private abstract static class TestCommandSenderCommandManager extends CommandManager<TestCommandSender> {
5253

5354
@SuppressWarnings("unused") // mocked via mockito

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cloud-buildLogic-rootProject-spotless = { id = "org.incendo.cloud-build-logic.sp
88
checkstyle = "10.12.5"
99
stylecheck = "0.2.1"
1010
checkerQual = "3.47.0"
11-
errorprone = "2.27.1"
11+
errorprone = "2.42.0"
1212
geantyref = "1.3.16"
1313
jmh = "1.37"
1414
apiguardian = "1.1.2"

0 commit comments

Comments
 (0)