Skip to content

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 577308018
  • Loading branch information
java-team-github-bot authored and Guice Team committed Oct 30, 2023
1 parent 1ab911a commit cd19219
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/com/google/inject/Key.java
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ private static void ensureRetainedAtRuntime(Class<? extends Annotation> annotati
private static void ensureIsBindingAnnotation(Class<? extends Annotation> annotationType) {
checkArgument(
Annotations.isBindingAnnotation(annotationType),
"%s is not a binding annotation. Please annotate it with @BindingAnnotation.",
"%s is not a binding annotation. Please annotate it with @Qualifier.",
annotationType.getName());
}

Expand Down
2 changes: 1 addition & 1 deletion core/test/com/google/inject/KeyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ public void testNonBindingAnnotationOnKey() {
assertContains(
expected.getMessage(),
"java.lang.Deprecated is not a binding annotation. ",
"Please annotate it with @BindingAnnotation.");
"Please annotate it with @Qualifier.");
}
}

Expand Down

0 comments on commit cd19219

Please sign in to comment.