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(); }