From dd1a5f5d69f4c2e820802094abc487191403d5fb Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Fri, 22 Nov 2002 23:32:45 +0000 Subject: [PATCH] Surprisingly the isJavaVersionAtLeast was not static. I can't see any reason for this and have fixed it. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@137156 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/commons/lang/SystemUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/commons/lang/SystemUtils.java b/src/java/org/apache/commons/lang/SystemUtils.java index 1b4cfc6d9..206a62fec 100644 --- a/src/java/org/apache/commons/lang/SystemUtils.java +++ b/src/java/org/apache/commons/lang/SystemUtils.java @@ -61,7 +61,7 @@ package org.apache.commons.lang; * @author Based on code from Lucene * @author Stephen Colebourne * @author Steve Downey - * @version $Id: SystemUtils.java,v 1.4 2002/11/16 10:41:03 scolebourne Exp $ + * @version $Id: SystemUtils.java,v 1.5 2002/11/22 23:32:45 bayard Exp $ */ public class SystemUtils { @@ -442,7 +442,7 @@ public class SystemUtils { * @return true if the actual version is equal or greater * than the required version */ - public boolean isJavaVersionAtLeast(float requiredVersion) { + public static boolean isJavaVersionAtLeast(float requiredVersion) { return (getJavaVersion() >= requiredVersion); }