Skip to content

Commit 49f3c27

Browse files
committed
docs: tag APIs with their correct since javadoc versions
1 parent 0f32ae8 commit 49f3c27

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎src/api/java/com/cleanroommc/javautils/api/JavaVersion.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ public int update() {
8080

8181
/**
8282
* Returns the numeric components as written, major first, without the legacy {@code 1.} prefix.
83+
*
84+
* @since 2.2.0
8385
*/
8486
public int[] components() {
8587
return this.vnum.clone();

‎src/api/java/com/cleanroommc/javautils/spi/JavaProvisioner.java‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* Implementations are registered as {@link ServiceLoader} services and located at runtime via
3030
* {@link #provisioners()} or {@link #provisioner(Class)}.
3131
*
32-
* @since X.Y.Z
32+
* @since 2.0.0
3333
*/
3434
public interface JavaProvisioner {
3535

@@ -140,6 +140,7 @@ default JavaProvisioner onDownload(@Nullable DownloadListener listener) {
140140
* @param bundle {@code true} to require JavaFX
141141
* @return this provisioner, for chaining
142142
* @throws UnsupportedOperationException if {@code bundle} is {@code true} and this provisioner cannot tell JavaFX builds apart
143+
* @since 2.2.0
143144
*/
144145
default JavaProvisioner bundleJavaFX(boolean bundle) {
145146
if (bundle) {

0 commit comments

Comments
 (0)