From 152f376df31ea115f8db5e53646e0f9fd2b668d8 Mon Sep 17 00:00:00 2001 From: Paul King Date: Sat, 1 Feb 2020 15:51:56 +1000 Subject: [PATCH] GROOVY-9380: VMPlugin refactor: Coalesce Java5 through Java7 into Java8 (remove reference to unused class) --- .../java/org/codehaus/groovy/vmplugin/VMPluginFactory.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java b/src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java index 679c1b637cc..10b0e306133 100644 --- a/src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java +++ b/src/main/java/org/codehaus/groovy/vmplugin/VMPluginFactory.java @@ -19,7 +19,6 @@ package org.codehaus.groovy.vmplugin; import org.codehaus.groovy.runtime.DefaultGroovyMethods; -import org.codehaus.groovy.vmplugin.v7.Java7; import java.security.AccessController; import java.security.PrivilegedAction; @@ -46,9 +45,6 @@ public class VMPluginFactory { VMPlugin target = createPlugin(JDK9_CLASSNAME_CHECK, JDK9_PLUGIN_NAME); if (target == null) { target = createPlugin(JDK8_CLASSNAME_CHECK, JDK8_PLUGIN_NAME); - if (target == null) { - target = new Java7(); - } } PLUGIN = target;