Skip to content

Commit

Permalink
Polish Javadoc for JRE enum
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jul 3, 2023
1 parent b72d1f6 commit ed8038c
Showing 1 changed file with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@
* @see #JAVA_12
* @see #JAVA_13
* @see #JAVA_14
* @see #JAVA_15
* @see #JAVA_16
* @see #JAVA_17
* @see #JAVA_18
* @see #JAVA_19
* @see #JAVA_20
* @see #JAVA_21
* @see #OTHER
* @see EnabledOnJre
* @see DisabledOnJre
Expand Down Expand Up @@ -221,14 +228,16 @@ private static JRE determineCurrentVersion() {

/**
* @return {@code true} if <em>this</em> {@code JRE} is known to be the
* Java Runtime Environment version for the currently executing JVM
* Java Runtime Environment version for the currently executing JVM or if
* the version is {@link #OTHER}
*/
public boolean isCurrentVersion() {
return this == CURRENT_VERSION;
}

/**
* @return the {@link JRE} for the currently executing JVM
* @return the {@link JRE} for the currently executing JVM, potentially
* {@link #OTHER}
*
* @since 5.7
*/
Expand Down

0 comments on commit ed8038c

Please sign in to comment.