File tree Expand file tree Collapse file tree 2 files changed +0
-67
lines changed
main/java/jenkins/util/java
test/java/jenkins/util/java Expand file tree Collapse file tree 2 files changed +0
-67
lines changed Original file line number Diff line number Diff line change @@ -40,24 +40,6 @@ private JavaUtils() {
4040 // Cannot construct
4141 }
4242
43- /**
44- * Check whether the current JVM is running with Java 8 or below
45- * @return {@code true} if it is Java 8 or older version
46- */
47- public static boolean isRunningWithJava8OrBelow () {
48- String javaVersion = getCurrentRuntimeJavaVersion ();
49- return javaVersion .startsWith ("1." );
50- }
51-
52- /**
53- * Check whether the current JVM is running with Java 9 or above.
54- * @return {@code true} if it is Java 9 or above
55- */
56- public static boolean isRunningWithPostJava8 () {
57- String javaVersion = getCurrentRuntimeJavaVersion ();
58- return !javaVersion .startsWith ("1." );
59- }
60-
6143 /**
6244 * Returns the JVM's current version as a {@link VersionNumber} instance.
6345 */
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments