changeset 194:4e81a6dee721

7902325: Imports cleanup - java.lang.*, same package, unused
author dbessono
date Tue, 25 Sep 2018 16:02:49 +0100
parents 7fceceace84b
children 52f2983b7255
files src/com/sun/interview/wizard/QuestionPanel.java src/com/sun/javatest/JavaTestSecurityManager.java src/com/sun/javatest/batch/ObserverCommand.java src/com/sun/javatest/exec/WorkDirChooseTool.java src/com/sun/javatest/interview/SimpleInterviewParameters.java src/com/sun/javatest/lib/MultiTest.java src/com/sun/javatest/tool/EnvironmentManager.java src/com/sun/javatest/tool/WDC_FileView.java
diffstat 8 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/sun/interview/wizard/QuestionPanel.java	Fri Sep 14 14:21:11 2018 +0100
+++ b/src/com/sun/interview/wizard/QuestionPanel.java	Tue Sep 25 16:02:49 2018 +0100
@@ -33,7 +33,6 @@
 import java.awt.Font;
 import java.awt.GridBagConstraints;
 import java.awt.GridBagLayout;
-import java.awt.HeadlessException;
 import java.awt.KeyboardFocusManager;
 import java.awt.Rectangle;
 import java.awt.Toolkit;
--- a/src/com/sun/javatest/JavaTestSecurityManager.java	Fri Sep 14 14:21:11 2018 +0100
+++ b/src/com/sun/javatest/JavaTestSecurityManager.java	Tue Sep 25 16:02:49 2018 +0100
@@ -29,7 +29,6 @@
 import java.io.FileDescriptor;
 import java.net.InetAddress;
 
-import java.lang.RuntimePermission;
 import java.security.Permission;
 import java.util.PropertyPermission;
 
--- a/src/com/sun/javatest/batch/ObserverCommand.java	Fri Sep 14 14:21:11 2018 +0100
+++ b/src/com/sun/javatest/batch/ObserverCommand.java	Tue Sep 25 16:02:49 2018 +0100
@@ -27,7 +27,6 @@
 package com.sun.javatest.batch;
 
 import java.io.File;
-import java.lang.NoSuchMethodException;
 import java.lang.reflect.Constructor;
 import java.lang.reflect.InvocationTargetException;
 import java.net.MalformedURLException;
@@ -35,7 +34,6 @@
 import java.net.URLClassLoader;
 import java.util.Iterator;
 import java.util.List;
-import java.util.ListIterator;
 import java.util.Vector;
 
 import com.sun.javatest.Harness;
--- a/src/com/sun/javatest/exec/WorkDirChooseTool.java	Fri Sep 14 14:21:11 2018 +0100
+++ b/src/com/sun/javatest/exec/WorkDirChooseTool.java	Tue Sep 25 16:02:49 2018 +0100
@@ -35,7 +35,6 @@
 import java.awt.Frame;
 import java.awt.GridBagConstraints;
 import java.awt.GridBagLayout;
-import java.awt.HeadlessException;
 import java.awt.Point;
 import java.awt.Rectangle;
 import java.awt.event.ActionEvent;
--- a/src/com/sun/javatest/interview/SimpleInterviewParameters.java	Fri Sep 14 14:21:11 2018 +0100
+++ b/src/com/sun/javatest/interview/SimpleInterviewParameters.java	Tue Sep 25 16:02:49 2018 +0100
@@ -42,7 +42,6 @@
 import com.sun.interview.StringQuestion;
 import com.sun.javatest.Parameters.EnvParameters;
 import com.sun.javatest.TestEnvironment;
-import com.sun.javatest.interview.DefaultInterviewParameters;
 
 /**
  * A simple interview that can be used for simple test suites.
--- a/src/com/sun/javatest/lib/MultiTest.java	Fri Sep 14 14:21:11 2018 +0100
+++ b/src/com/sun/javatest/lib/MultiTest.java	Tue Sep 25 16:02:49 2018 +0100
@@ -31,7 +31,7 @@
 import java.io.PrintWriter;
 import java.lang.reflect.Method;
 import java.lang.reflect.InvocationTargetException;
-import com.sun.javatest.lib.TestCases;
+
 import com.sun.javatest.Status;
 import com.sun.javatest.Test;
 
--- a/src/com/sun/javatest/tool/EnvironmentManager.java	Fri Sep 14 14:21:11 2018 +0100
+++ b/src/com/sun/javatest/tool/EnvironmentManager.java	Tue Sep 25 16:02:49 2018 +0100
@@ -29,7 +29,6 @@
 import java.util.HashMap;
 import java.util.ListIterator;
 import java.util.Map;
-import java.lang.SecurityManager;
 
 import com.sun.javatest.JavaTestSecurityManager;
 import com.sun.javatest.TestEnvironment;
--- a/src/com/sun/javatest/tool/WDC_FileView.java	Fri Sep 14 14:21:11 2018 +0100
+++ b/src/com/sun/javatest/tool/WDC_FileView.java	Tue Sep 25 16:02:49 2018 +0100
@@ -26,8 +26,6 @@
  */
 package com.sun.javatest.tool;
 
-import com.sun.javatest.tool.IconFactory;
-import com.sun.javatest.tool.SelectedWorkDirApprover;
 import java.io.File;
 import javax.swing.Icon;
 import javax.swing.filechooser.FileView;