From 75a8e79f360d1d011a9b3864fccee8aa95ffb5e9 Mon Sep 17 00:00:00 2001 From: Ladislav Thon Date: Mon, 27 Feb 2023 15:09:17 +0100 Subject: [PATCH] ArC: add missing info to some @Deprecated annotations --- .../arc/runtime/src/main/java/io/quarkus/arc/BeanCreator.java | 2 +- .../arc/runtime/src/main/java/io/quarkus/arc/Priority.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/BeanCreator.java b/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/BeanCreator.java index 3d365874b58b64..064a0eee7f6671 100644 --- a/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/BeanCreator.java +++ b/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/BeanCreator.java @@ -31,7 +31,7 @@ default T create(SyntheticCreationalContext context) { * @return the contextual instance * @deprecated Use {@link #create(SyntheticCreationalContext)} instead */ - @Deprecated(forRemoval = true) + @Deprecated(forRemoval = true, since = "3.0") default T create(CreationalContext creationalContext, Map params) { throw new CreationException("Creation logic not implemented"); } diff --git a/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/Priority.java b/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/Priority.java index 175be33f120081..1542090fd3d043 100644 --- a/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/Priority.java +++ b/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/Priority.java @@ -19,7 +19,7 @@ * @deprecated use {@link jakarta.annotation.Priority}; this annotation will be removed at some time after Quarkus 3.6 */ @Retention(RetentionPolicy.RUNTIME) -@Deprecated +@Deprecated(forRemoval = true, since = "3.0") public @interface Priority { int value();