From 4da1f5af12a0320989a2f8bc9b9713d1de87c3ae Mon Sep 17 00:00:00 2001 From: ghm Date: Wed, 15 May 2024 07:15:50 -0700 Subject: [PATCH] Remove a double "with". PiperOrigin-RevId: 633944115 --- .../com/google/errorprone/bugpatterns/RedundantSetterCall.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/errorprone/bugpatterns/RedundantSetterCall.java b/core/src/main/java/com/google/errorprone/bugpatterns/RedundantSetterCall.java index 7d5608d3158c..ddd4f5d07a33 100644 --- a/core/src/main/java/com/google/errorprone/bugpatterns/RedundantSetterCall.java +++ b/core/src/main/java/com/google/errorprone/bugpatterns/RedundantSetterCall.java @@ -209,7 +209,7 @@ private Description describe( return buildDescription(locations.iterator().next().getArgument()) .setMessage( String.format( - "%s was called %s with %s. Setting the same field multiple times is redundant, and " + "%s was called %s%s. Setting the same field multiple times is redundant, and " + "could mask a bug.", field.toString(locations), nTimes(locations.size()),