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;