From 26f927c2754cf3478c3a7ed04a06131b0a4dffa3 Mon Sep 17 00:00:00 2001 From: Xiaoming Jia Date: Tue, 27 Oct 2020 16:12:02 -0700 Subject: [PATCH] Update API since tag for the new APIs. --- core/src/com/google/inject/Key.java | 4 ++-- core/src/com/google/inject/spi/Message.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/com/google/inject/Key.java b/core/src/com/google/inject/Key.java index dd8cc22ad0..c8e433295c 100644 --- a/core/src/com/google/inject/Key.java +++ b/core/src/com/google/inject/Key.java @@ -296,7 +296,7 @@ public Key ofType(TypeLiteral type) { *

This is equivalent to {@code Key.get(key.getTypeLiteral(), annotation)} but may be more * convenient to use in certain cases. * - * @since vNext + * @since 5.0 */ public Key withAnnotation(Class annotationType) { return new Key(typeLiteral, strategyFor(annotationType)); @@ -308,7 +308,7 @@ public Key withAnnotation(Class annotationType) { *

This is equivalent to {@code Key.get(key.getTypeLiteral(), annotation)} but may be more * convenient to use in certain cases. * - * @since vNext + * @since 5.0 */ public Key withAnnotation(Annotation annotation) { return new Key(typeLiteral, strategyFor(annotation)); diff --git a/core/src/com/google/inject/spi/Message.java b/core/src/com/google/inject/spi/Message.java index 09af4c0737..e05e09e9ab 100644 --- a/core/src/com/google/inject/spi/Message.java +++ b/core/src/com/google/inject/spi/Message.java @@ -48,7 +48,7 @@ public final class Message implements Serializable, Element { private final ErrorId errorId; private final ErrorDetail errorDetail; - /** @since vNext */ + /** @since 5.0 */ public Message(GuiceInternal internalOnly, ErrorId errorId, ErrorDetail errorDetail) { checkNotNull(internalOnly); this.errorId = errorId; @@ -87,7 +87,7 @@ public Message(String message) { /** * Returns details about this error message. * - * @since vNext + * @since 5.0 */ public ErrorDetail getErrorDetail() { return errorDetail;