From 7a219703466e3e28fe199587cced9f500c235f38 Mon Sep 17 00:00:00 2001 From: rjtmahinay Date: Mon, 12 Jun 2023 00:26:38 +0800 Subject: [PATCH] Replace IfBuildProfile in UnlessBuildProfile javadoc * Fix #33954 --- .../java/io/quarkus/arc/profile/UnlessBuildProfile.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extensions/arc/runtime/src/main/java/io/quarkus/arc/profile/UnlessBuildProfile.java b/extensions/arc/runtime/src/main/java/io/quarkus/arc/profile/UnlessBuildProfile.java index 158f4cacd0a82..ddc3bdd8eb040 100644 --- a/extensions/arc/runtime/src/main/java/io/quarkus/arc/profile/UnlessBuildProfile.java +++ b/extensions/arc/runtime/src/main/java/io/quarkus/arc/profile/UnlessBuildProfile.java @@ -15,21 +15,21 @@ * Enabled when "dev" profile is not active: * * @ApplicationScoped - * @IfBuildProfile("dev") + * @UnlessBuildProfile("dev") * public class NotDevBean { * } * * Enabled when both "build" and "dev" profiles are not active: * * @ApplicationScoped - * @IfBuildProfile(allOf = {"build", "dev"}) + * @UnlessBuildProfile(allOf = {"build", "dev"}) * public class NotBuildDevBean { * } * * Enabled if either "build" or "dev" profile is not active: * * @ApplicationScoped - * @IfBuildProfile(anyOf = {"build", "dev"}) + * @UnlessBuildProfile(anyOf = {"build", "dev"}) * public class NotBuildDevBean { * } * @@ -37,7 +37,7 @@ * not active: * * @ApplicationScoped - * @IfBuildProfile(allOf = {"build", "dev"}, anyOf = {"test", "prod"}) + * @UnlessBuildProfile(allOf = {"build", "dev"}, anyOf = {"test", "prod"}) * public class NotBuildDevBean { * } *