changeset 14366:40832198b160

8155939: sun.launcher.LauncherHelper INSTANCE is unused Reviewed-by: rriggs, ksrini
author redestad
date Wed, 04 May 2016 16:55:03 +0200
parents 909c7db6c47d
children 5dd02e390cf8
files src/java.base/share/classes/sun/launcher/LauncherHelper.java
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/classes/sun/launcher/LauncherHelper.java	Wed May 04 16:41:07 2016 +0300
+++ b/src/java.base/share/classes/sun/launcher/LauncherHelper.java	Wed May 04 16:55:03 2016 +0200
@@ -84,8 +84,10 @@
 import jdk.internal.misc.VM;
 
 
-public enum LauncherHelper {
-    INSTANCE;
+public final class LauncherHelper {
+
+    // No instantiation
+    private LauncherHelper() {}
 
     // used to identify JavaFX applications
     private static final String JAVAFX_APPLICATION_MARKER =