Skip to content

Commit

Permalink
Fix minor typo in URepeated
Browse files Browse the repository at this point in the history
`@CountConstraint` doesn't exist in the open source part of Error Prone.

Fixes #2243

COPYBARA_INTEGRATE_REVIEW=#2243 from PicnicSupermarket:rossendrijver/fix_typo ac4bd66
PiperOrigin-RevId: 538609467
  • Loading branch information
rickie authored and Error Prone Team committed Jun 7, 2023
1 parent 35e6687 commit 9a9c767
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ protected Choice<Unifier> 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
Expand Down

0 comments on commit 9a9c767

Please sign in to comment.