From bd32e7e6dcce4be453aa2880981b4d910fd22dbe Mon Sep 17 00:00:00 2001 From: Stephan Schroevers Date: Sat, 10 Aug 2024 13:27:32 +0200 Subject: [PATCH] Fix build after rebase --- .../picnic/errorprone/bugpatterns/CanonicalConstantNaming.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantNaming.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantNaming.java index f95755edcb3..0e5afd8d9c0 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantNaming.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalConstantNaming.java @@ -127,7 +127,7 @@ private static ImmutableList getVariablesInCompilationUnit( @Override public @Nullable Void visitVariable(VariableTree variableTree, @Nullable Void unused) { variablesInFileBuilder.add(variableTree); - return super.visitVariable(variableTree, unused); + return super.visitVariable(variableTree, null); } }.scan(tree, null);