Skip to content

Commit ed8038c

Browse files
committed
Polish Javadoc for JRE enum
1 parent b72d1f6 commit ed8038c

File tree

1 file changed

+11
-2
lines changed
  • junit-jupiter-api/src/main/java/org/junit/jupiter/api/condition

1 file changed

+11
-2
lines changed

junit-jupiter-api/src/main/java/org/junit/jupiter/api/condition/JRE.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
* @see #JAVA_12
3838
* @see #JAVA_13
3939
* @see #JAVA_14
40+
* @see #JAVA_15
41+
* @see #JAVA_16
42+
* @see #JAVA_17
43+
* @see #JAVA_18
44+
* @see #JAVA_19
45+
* @see #JAVA_20
46+
* @see #JAVA_21
4047
* @see #OTHER
4148
* @see EnabledOnJre
4249
* @see DisabledOnJre
@@ -221,14 +228,16 @@ private static JRE determineCurrentVersion() {
221228

222229
/**
223230
* @return {@code true} if <em>this</em> {@code JRE} is known to be the
224-
* Java Runtime Environment version for the currently executing JVM
231+
* Java Runtime Environment version for the currently executing JVM or if
232+
* the version is {@link #OTHER}
225233
*/
226234
public boolean isCurrentVersion() {
227235
return this == CURRENT_VERSION;
228236
}
229237

230238
/**
231-
* @return the {@link JRE} for the currently executing JVM
239+
* @return the {@link JRE} for the currently executing JVM, potentially
240+
* {@link #OTHER}
232241
*
233242
* @since 5.7
234243
*/

0 commit comments

Comments
 (0)