From 8292d0d20fdec843f5d26c7aaa3f79b7c3966d00 Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 24 Aug 2022 14:45:11 -0700 Subject: [PATCH] Fix ErrorProne format string validation issue We only have 3 arguments for the format string. #cleanup PiperOrigin-RevId: 469828618 Change-Id: I1babeb5d3c3f25f79cc726ba201b2f1bbfeac7a0 --- .../devtools/build/lib/skyframe/ConfiguredTargetFunction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/ConfiguredTargetFunction.java b/src/main/java/com/google/devtools/build/lib/skyframe/ConfiguredTargetFunction.java index f2d27dc191c163..d2324f78c26028 100644 --- a/src/main/java/com/google/devtools/build/lib/skyframe/ConfiguredTargetFunction.java +++ b/src/main/java/com/google/devtools/build/lib/skyframe/ConfiguredTargetFunction.java @@ -1263,7 +1263,7 @@ private static ConfiguredTargetValue createConfiguredTarget( } else { Preconditions.checkState( analysisEnvironment.getRegisteredActions().isEmpty(), - "Non-rule can't have actions: %s %s %s %s", + "Non-rule can't have actions: %s %s %s", configuredTargetKey, analysisEnvironment.getRegisteredActions(), configuredTarget);