mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-11 12:35:07 +00:00
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/branches/LANG_1_0_BRANCH@137155 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bc69461e48
commit
e3066b43ee
@ -61,7 +61,7 @@
|
||||
* @author Based on code from Lucene
|
||||
* @author <a href="mailto:scolebourne@apache.org">Stephen Colebourne</a>
|
||||
* @author <a href="mailto:sdowney@panix.com">Steve Downey</a>
|
||||
* @version $Id: SystemUtils.java,v 1.2 2002/08/25 22:17:53 scolebourne Exp $
|
||||
* @version $Id: SystemUtils.java,v 1.2.2.1 2002/11/22 23:31:13 bayard Exp $
|
||||
*/
|
||||
public class SystemUtils {
|
||||
|
||||
@ -433,7 +433,7 @@ public static float getJavaVersion() {
|
||||
* @param requiredVersion the required version, for example 1.31f
|
||||
* @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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user