From 73d125ba694cee44ad6e65c62ac11b8335f93d15 Mon Sep 17 00:00:00 2001 From: Rick Ossendrijver Date: Wed, 7 Jun 2023 14:31:57 -0700 Subject: [PATCH] Fix minor typo in URepeated `@CountConstraint` doesn't exist in the open source part of Error Prone. Fixes #2243 FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/google/error-prone/pull/2243 from PicnicSupermarket:rossendrijver/fix_typo ac4bd661cb4f301308f8f0ea3a4a76d8b3f8d5ba PiperOrigin-RevId: 538593990 --- .../src/main/java/com/google/errorprone/refaster/URepeated.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/google/errorprone/refaster/URepeated.java b/core/src/main/java/com/google/errorprone/refaster/URepeated.java index 36059637d316..4a0d64c76910 100644 --- a/core/src/main/java/com/google/errorprone/refaster/URepeated.java +++ b/core/src/main/java/com/google/errorprone/refaster/URepeated.java @@ -43,7 +43,7 @@ protected Choice defaultAction(Tree node, @Nullable Unifier unifier) { @Override public JCExpression inline(Inliner inliner) throws CouldNotResolveImportException { throw new UnsupportedOperationException( - "@CountConstraint variables should be inlined inside method invocations or newArray"); + "@Repeated variables should be inlined inside method invocations or newArray"); } @Override