diff --git a/src/java/org/apache/commons/lang/SystemUtils.java b/src/java/org/apache/commons/lang/SystemUtils.java
index ea4279d03..78d0ba720 100644
--- a/src/java/org/apache/commons/lang/SystemUtils.java
+++ b/src/java/org/apache/commons/lang/SystemUtils.java
@@ -1095,23 +1095,6 @@ public class SystemUtils {
}
//-----------------------------------------------------------------------
- /**
- *
Gets the Java version number as a float
.
- *
- * Example return values:
- *
- * 1.2f
for JDK 1.2
- * 1.31f
for JDK 1.3.1
- *
- *
- * @return the version, for example 1.31f for JDK 1.3.1
- * @deprecated Use {@link #JAVA_VERSION_FLOAT} instead.
- * Method will be removed in Commons Lang 3.0.
- */
- public static float getJavaVersion() {
- return JAVA_VERSION_FLOAT;
- }
-
/**
* Gets the Java version number as a float
.
*
diff --git a/src/test/org/apache/commons/lang/SystemUtilsTest.java b/src/test/org/apache/commons/lang/SystemUtilsTest.java
index 4ae926f1e..1058fb200 100644
--- a/src/test/org/apache/commons/lang/SystemUtilsTest.java
+++ b/src/test/org/apache/commons/lang/SystemUtilsTest.java
@@ -337,10 +337,6 @@ public class SystemUtilsTest extends TestCase {
}
//-----------------------------------------------------------------------
- public void testDeprecatedJavaVersion() {
- assertEquals(SystemUtils.JAVA_VERSION_FLOAT, SystemUtils.getJavaVersion(), 0f);
- }
-
public void testJavaVersionAsFloat() {
JAVA_VERSION = null;
JAVA_VERSION_TRIMMED = getJavaVersionTrimmed();