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 a537d735666..1f06587cccf 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