This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit 472cb8294ee5ec20f4022cd85692e4f02ca9d581 Author: Gary Gregory <[email protected]> AuthorDate: Fri Dec 19 17:39:04 2025 -0500 Javadoc --- .../java/org/apache/commons/lang3/JavaVersion.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/JavaVersion.java b/src/main/java/org/apache/commons/lang3/JavaVersion.java index b0e15bfca..af13d4ae4 100644 --- a/src/main/java/org/apache/commons/lang3/JavaVersion.java +++ b/src/main/java/org/apache/commons/lang3/JavaVersion.java @@ -220,8 +220,8 @@ public enum JavaVersion { /** * Transforms the given string with a Java version number to the corresponding constant of this enumeration class. This method is used internally. * - * @param versionStr the Java version as string - * @return the corresponding enumeration constant or <strong>null</strong> if the version is unknown + * @param versionStr the Java version as string. + * @return the corresponding enumeration constant or <strong>null</strong> if the version is unknown. */ static JavaVersion get(final String versionStr) { if (versionStr == null) { @@ -302,8 +302,8 @@ static JavaVersion get(final String versionStr) { /** * Transforms the given string with a Java version number to the corresponding constant of this enumeration class. This method is used internally. * - * @param versionStr the Java version as string - * @return the corresponding enumeration constant or <strong>null</strong> if the version is unknown + * @param versionStr the Java version as string. + * @return the corresponding enumeration constant or <strong>null</strong> if the version is unknown. */ static JavaVersion getJavaVersion(final String versionStr) { return get(versionStr); @@ -354,8 +354,8 @@ private static float toFloatVersion(final String value) { /** * Constructs a new instance. * - * @param value the float value - * @param name the standard name, not null + * @param value the float value. + * @param name the standard name, not null. */ JavaVersion(final float value, final String name) { this.value = value; @@ -374,8 +374,8 @@ private static float toFloatVersion(final String value) { * myVersion.atLeast(JavaVersion.JAVA_1_8) * }</pre> * - * @param requiredVersion the version to check against, not null - * @return true if this version is equal to or greater than the specified version + * @param requiredVersion the version to check against, not null. + * @return true if this version is equal to or greater than the specified version. */ public boolean atLeast(final JavaVersion requiredVersion) { return this.value >= requiredVersion.value; @@ -393,8 +393,8 @@ public boolean atLeast(final JavaVersion requiredVersion) { * myVersion.atMost(JavaVersion.JAVA_1_4) * }</pre> * - * @param requiredVersion the version to check against, not null - * @return true if this version is equal to or greater than the specified version + * @param requiredVersion the version to check against, not null. + * @return true if this version is equal to or greater than the specified version. * @since 3.9 */ public boolean atMost(final JavaVersion requiredVersion) { @@ -408,7 +408,7 @@ public boolean atMost(final JavaVersion requiredVersion) { * For example, {@code "1.5"}. * </p> * - * @return the name, not null + * @return the name, not null. */ @Override public String toString() {
