You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/11/17 20:06:38 UTC

[commons-lang] branch master updated: fix javadoc for isJavaVersionAtMost (#638)

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


The following commit(s) were added to refs/heads/master by this push:
     new 2adf71b  fix javadoc for isJavaVersionAtMost (#638)
2adf71b is described below

commit 2adf71bf239e7af87f5e4434264e6f5d9d32e741
Author: John R. D'Orazio <pr...@johnromanodorazio.com>
AuthorDate: Tue Nov 17 21:06:27 2020 +0100

    fix javadoc for isJavaVersionAtMost (#638)
    
    the javadoc for isJavaVersionAtMost was the same as for isJavaVersionAtLeast! They sure don't do the same thing :)
---
 src/main/java/org/apache/commons/lang3/SystemUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/commons/lang3/SystemUtils.java b/src/main/java/org/apache/commons/lang3/SystemUtils.java
index 2d6a97b..88333f3 100644
--- a/src/main/java/org/apache/commons/lang3/SystemUtils.java
+++ b/src/main/java/org/apache/commons/lang3/SystemUtils.java
@@ -1781,7 +1781,7 @@ public class SystemUtils {
      * </p>
      *
      * @param requiredVersion the required version, for example 1.31f
-     * @return {@code true} if the actual version is equal or greater than the required version
+     * @return {@code true} if the actual version is equal or less than the required version
      * @since 3.9
      */
     public static boolean isJavaVersionAtMost(final JavaVersion requiredVersion) {