From 67a128a9b692b9a2cf83530d49a43eab1dfd08ad Mon Sep 17 00:00:00 2001 From: Rick Ossendrijver Date: Sun, 6 Aug 2023 16:18:29 +0200 Subject: [PATCH] Fix typos in `CanonicalSyntaxAnnotation` source (#738) --- .../errorprone/bugpatterns/CanonicalAnnotationSyntax.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalAnnotationSyntax.java b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalAnnotationSyntax.java index b2073c7167..a0ad184b32 100644 --- a/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalAnnotationSyntax.java +++ b/error-prone-contrib/src/main/java/tech/picnic/errorprone/bugpatterns/CanonicalAnnotationSyntax.java @@ -91,8 +91,8 @@ private static Optional dropRedundantValueAttribute( ExpressionTree arg = args.get(0); if (state.getSourceForNode(arg) == null) { /* - * The annotation argument isn't doesn't have a source representation, e.g. because `value` - * isn't assigned to explicitly. + * The annotation argument doesn't have a source representation, e.g. because `value` isn't + * assigned explicitly. */ return Optional.empty(); }