Skip to content

Commit a1c640f

Browse files
authored
Merge pull request #48971 from gsmet/add-missing-since
Add some since attributes to @deprecated elements
2 parents d0855cf + cb6611f commit a1c640f

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

extensions/hibernate-orm/deployment/src/main/java/io/quarkus/hibernate/orm/deployment/AdditionalJpaModelBuildItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See <a href="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/search?q=org%3Aquarkiverse%20AdditionalJpaModelBuildItem&type=code">here</a>
1515
* for a full list.
1616
*/
17-
@Deprecated
17+
@Deprecated(forRemoval = true, since = "3.3")
1818
public final class AdditionalJpaModelBuildItem extends MultiBuildItem {
1919

2020
private final String className;

independent-projects/tools/utilities/src/main/java/io/quarkus/utilities/JavaBinFinder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55
/**
66
* @deprecated Use {@link ProcessUtil} instead.
77
*/
8-
@Deprecated(forRemoval = true)
8+
@Deprecated(forRemoval = true, since = "3.25")
99
public class JavaBinFinder {
1010
/**
1111
* {@return the path of the {@code java} command (not {@code null})}
1212
*
1313
* @deprecated Use {@link ProcessUtil#pathOfJava()} instead.
1414
*/
15-
@Deprecated(forRemoval = true)
15+
@Deprecated(forRemoval = true, since = "3.25")
1616
public static String findBin() {
1717
return ProcessUtil.pathOfJava().toString();
1818
}
@@ -22,7 +22,7 @@ public static String findBin() {
2222
*
2323
* @deprecated Use {@link ProcessUtil#nameOfJava()} instead.
2424
*/
25-
@Deprecated(forRemoval = true)
25+
@Deprecated(forRemoval = true, since = "3.25")
2626
public static String simpleBinaryName() {
2727
return ProcessUtil.nameOfJava();
2828
}

independent-projects/tools/utilities/src/main/java/io/quarkus/utilities/OS.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @deprecated Use {@link io.smallrye.common.os.OS} and {@link io.smallrye.common.cpu.CPU} instead.
99
*/
10-
@Deprecated(forRemoval = true)
10+
@Deprecated(forRemoval = true, since = "3.25")
1111
public enum OS {
1212
WINDOWS,
1313
LINUX,
@@ -19,7 +19,7 @@ public enum OS {
1919
*
2020
* @deprecated Use {@link io.smallrye.common.os.OS#current} instead.
2121
*/
22-
@Deprecated(forRemoval = true)
22+
@Deprecated(forRemoval = true, since = "3.25")
2323
public static OS determineOS() {
2424
return switch (io.smallrye.common.os.OS.current()) {
2525
case WINDOWS -> WINDOWS;
@@ -36,7 +36,7 @@ public static OS determineOS() {
3636
* @return the string, or {@code null} if the architecture is unknown
3737
* @deprecated Use {@link io.smallrye.common.cpu.CPU#host} instead (but beware of differing string values).
3838
*/
39-
@Deprecated(forRemoval = true)
39+
@Deprecated(forRemoval = true, since = "3.25")
4040
public static String getArchitecture() {
4141
return switch (CPU.host()) {
4242
case x64 -> "x86_64";

0 commit comments

Comments
 (0)