Commit c6ae9f48 authored by Stephanie Gawroriski's avatar Stephanie Gawroriski
Browse files

Mass optimize imports.

parent 2ad08487
Pipeline #39202 passed with stages
in 1 minute and 58 seconds
...@@ -10,10 +10,7 @@ ...@@ -10,10 +10,7 @@
package cc.squirreljme.plugin.multivm; package cc.squirreljme.plugin.multivm;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.LinkedHashSet; import java.util.LinkedHashSet;
import java.util.LinkedList;
import java.util.Set; import java.util.Set;
import java.util.concurrent.Callable; import java.util.concurrent.Callable;
import org.gradle.api.Project; import org.gradle.api.Project;
......
...@@ -16,7 +16,6 @@ import java.nio.file.Files; ...@@ -16,7 +16,6 @@ import java.nio.file.Files;
import java.nio.file.Path; import java.nio.file.Path;
import java.nio.file.StandardCopyOption; import java.nio.file.StandardCopyOption;
import java.nio.file.StandardOpenOption; import java.nio.file.StandardOpenOption;
import java.util.function.Function;
import org.gradle.api.Action; import org.gradle.api.Action;
import org.gradle.api.Task; import org.gradle.api.Task;
import org.gradle.api.tasks.SourceSet; import org.gradle.api.tasks.SourceSet;
......
...@@ -12,7 +12,6 @@ package cc.squirreljme.vm.springcoat; ...@@ -12,7 +12,6 @@ package cc.squirreljme.vm.springcoat;
import cc.squirreljme.jdwp.JDWPState; import cc.squirreljme.jdwp.JDWPState;
import cc.squirreljme.jdwp.JDWPValue; import cc.squirreljme.jdwp.JDWPValue;
import cc.squirreljme.jdwp.views.JDWPViewFrame; import cc.squirreljme.jdwp.views.JDWPViewFrame;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import java.lang.ref.Reference; import java.lang.ref.Reference;
/** /**
......
...@@ -13,7 +13,6 @@ import cc.squirreljme.jdwp.JDWPState; ...@@ -13,7 +13,6 @@ import cc.squirreljme.jdwp.JDWPState;
import cc.squirreljme.jdwp.JDWPStepTracker; import cc.squirreljme.jdwp.JDWPStepTracker;
import cc.squirreljme.jdwp.JDWPThreadSuspension; import cc.squirreljme.jdwp.JDWPThreadSuspension;
import cc.squirreljme.jdwp.views.JDWPViewThread; import cc.squirreljme.jdwp.views.JDWPViewThread;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import java.lang.ref.Reference; import java.lang.ref.Reference;
import java.util.Arrays; import java.util.Arrays;
import java.util.Collections; import java.util.Collections;
......
...@@ -14,7 +14,6 @@ import cc.squirreljme.jdwp.JDWPState; ...@@ -14,7 +14,6 @@ import cc.squirreljme.jdwp.JDWPState;
import cc.squirreljme.jdwp.JDWPValue; import cc.squirreljme.jdwp.JDWPValue;
import cc.squirreljme.jdwp.trips.JDWPTripBreakpoint; import cc.squirreljme.jdwp.trips.JDWPTripBreakpoint;
import cc.squirreljme.jdwp.views.JDWPViewType; import cc.squirreljme.jdwp.views.JDWPViewType;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import cc.squirreljme.vm.springcoat.exceptions.SpringNoSuchFieldException; import cc.squirreljme.vm.springcoat.exceptions.SpringNoSuchFieldException;
import cc.squirreljme.vm.springcoat.exceptions.SpringNoSuchMethodException; import cc.squirreljme.vm.springcoat.exceptions.SpringNoSuchMethodException;
import java.lang.ref.Reference; import java.lang.ref.Reference;
......
...@@ -17,7 +17,6 @@ import cc.squirreljme.jvm.mle.constants.MemoryProfileType; ...@@ -17,7 +17,6 @@ import cc.squirreljme.jvm.mle.constants.MemoryProfileType;
import cc.squirreljme.jvm.mle.constants.VMDescriptionType; import cc.squirreljme.jvm.mle.constants.VMDescriptionType;
import cc.squirreljme.jvm.mle.constants.VMStatisticType; import cc.squirreljme.jvm.mle.constants.VMStatisticType;
import cc.squirreljme.jvm.mle.constants.VMType; import cc.squirreljme.jvm.mle.constants.VMType;
import cc.squirreljme.runtime.cldc.SquirrelJME;
import cc.squirreljme.runtime.cldc.lang.LineEndingUtils; import cc.squirreljme.runtime.cldc.lang.LineEndingUtils;
import cc.squirreljme.vm.springcoat.exceptions.SpringMLECallError; import cc.squirreljme.vm.springcoat.exceptions.SpringMLECallError;
......
...@@ -20,7 +20,6 @@ import cc.squirreljme.jvm.mle.brackets.VMThreadBracket; ...@@ -20,7 +20,6 @@ import cc.squirreljme.jvm.mle.brackets.VMThreadBracket;
import cc.squirreljme.jvm.mle.constants.ThreadModelType; import cc.squirreljme.jvm.mle.constants.ThreadModelType;
import cc.squirreljme.jvm.mle.constants.ThreadStatusType; import cc.squirreljme.jvm.mle.constants.ThreadStatusType;
import cc.squirreljme.runtime.cldc.debug.CallTraceElement; import cc.squirreljme.runtime.cldc.debug.CallTraceElement;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import cc.squirreljme.vm.springcoat.brackets.TaskObject; import cc.squirreljme.vm.springcoat.brackets.TaskObject;
import cc.squirreljme.vm.springcoat.brackets.VMThreadObject; import cc.squirreljme.vm.springcoat.brackets.VMThreadObject;
import cc.squirreljme.vm.springcoat.exceptions.SpringMLECallError; import cc.squirreljme.vm.springcoat.exceptions.SpringMLECallError;
......
...@@ -9,13 +9,15 @@ ...@@ -9,13 +9,15 @@
package cc.squirreljme.vm.summercoat; package cc.squirreljme.vm.summercoat;
import cc.squirreljme.emulator.profiler.ProfiledThread;
import cc.squirreljme.emulator.profiler.ProfilerSnapshot;
import cc.squirreljme.emulator.vm.VMException;
import cc.squirreljme.jvm.CallStackItem; import cc.squirreljme.jvm.CallStackItem;
import cc.squirreljme.jvm.Constants; import cc.squirreljme.jvm.Constants;
import cc.squirreljme.jvm.SupervisorPropertyIndex; import cc.squirreljme.jvm.SupervisorPropertyIndex;
import cc.squirreljme.jvm.SystemCallError; import cc.squirreljme.jvm.SystemCallError;
import cc.squirreljme.jvm.SystemCallIndex; import cc.squirreljme.jvm.SystemCallIndex;
import cc.squirreljme.runtime.cldc.debug.CallTraceElement; import cc.squirreljme.runtime.cldc.debug.CallTraceElement;
import cc.squirreljme.emulator.vm.VMException;
import dev.shadowtail.classfile.nncc.ArgumentFormat; import dev.shadowtail.classfile.nncc.ArgumentFormat;
import dev.shadowtail.classfile.nncc.InvalidInstructionException; import dev.shadowtail.classfile.nncc.InvalidInstructionException;
import dev.shadowtail.classfile.nncc.NativeCode; import dev.shadowtail.classfile.nncc.NativeCode;
...@@ -29,8 +31,6 @@ import java.io.IOException; ...@@ -29,8 +31,6 @@ import java.io.IOException;
import java.io.OutputStream; import java.io.OutputStream;
import java.util.Deque; import java.util.Deque;
import java.util.LinkedList; import java.util.LinkedList;
import cc.squirreljme.emulator.profiler.ProfiledThread;
import cc.squirreljme.emulator.profiler.ProfilerSnapshot;
/** /**
* This represents a native CPU which may run within its own thread to * This represents a native CPU which may run within its own thread to
......
...@@ -9,12 +9,10 @@ ...@@ -9,12 +9,10 @@
package cc.squirreljme.vm.summercoat; package cc.squirreljme.vm.summercoat;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import cc.squirreljme.vm.SummerCoatJarLibrary;
import cc.squirreljme.vm.VMClassLibrary;
import cc.squirreljme.emulator.vm.VMException; import cc.squirreljme.emulator.vm.VMException;
import cc.squirreljme.emulator.vm.VMSuiteManager; import cc.squirreljme.emulator.vm.VMSuiteManager;
import dev.shadowtail.jarfile.JarMinimizer; import cc.squirreljme.vm.SummerCoatJarLibrary;
import cc.squirreljme.vm.VMClassLibrary;
import dev.shadowtail.jarfile.MinimizedJarHeader; import dev.shadowtail.jarfile.MinimizedJarHeader;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.IOException; import java.io.IOException;
......
...@@ -10,15 +10,16 @@ ...@@ -10,15 +10,16 @@
package cc.squirreljme.vm.summercoat; package cc.squirreljme.vm.summercoat;
import cc.squirreljme.emulator.profiler.ProfilerSnapshot;
import cc.squirreljme.emulator.vm.VMException;
import cc.squirreljme.emulator.vm.VMFactory;
import cc.squirreljme.emulator.vm.VMSuiteManager;
import cc.squirreljme.emulator.vm.VMThreadModel; import cc.squirreljme.emulator.vm.VMThreadModel;
import cc.squirreljme.emulator.vm.VirtualMachine;
import cc.squirreljme.jdwp.JDWPFactory; import cc.squirreljme.jdwp.JDWPFactory;
import cc.squirreljme.jvm.config.ConfigRomKey; import cc.squirreljme.jvm.config.ConfigRomKey;
import cc.squirreljme.runtime.cldc.debug.Debugging; import cc.squirreljme.runtime.cldc.debug.Debugging;
import cc.squirreljme.vm.VMClassLibrary; import cc.squirreljme.vm.VMClassLibrary;
import cc.squirreljme.emulator.vm.VMException;
import cc.squirreljme.emulator.vm.VMFactory;
import cc.squirreljme.emulator.vm.VMSuiteManager;
import cc.squirreljme.emulator.vm.VirtualMachine;
import dev.shadowtail.classfile.nncc.NativeCode; import dev.shadowtail.classfile.nncc.NativeCode;
import dev.shadowtail.jarfile.MinimizedJarHeader; import dev.shadowtail.jarfile.MinimizedJarHeader;
import dev.shadowtail.packfile.MinimizedPackHeader; import dev.shadowtail.packfile.MinimizedPackHeader;
...@@ -32,7 +33,6 @@ import java.nio.file.Path; ...@@ -32,7 +33,6 @@ import java.nio.file.Path;
import java.nio.file.Paths; import java.nio.file.Paths;
import java.nio.file.StandardOpenOption; import java.nio.file.StandardOpenOption;
import java.util.Map; import java.util.Map;
import cc.squirreljme.emulator.profiler.ProfilerSnapshot;
/** /**
* This is the factory which is capable of creating instances of the * This is the factory which is capable of creating instances of the
......
...@@ -11,7 +11,6 @@ package cc.squirreljme.jvm.aot.summercoat; ...@@ -11,7 +11,6 @@ package cc.squirreljme.jvm.aot.summercoat;
import cc.squirreljme.jvm.aot.CompileSettings; import cc.squirreljme.jvm.aot.CompileSettings;
import cc.squirreljme.jvm.aot.LinkGlob; import cc.squirreljme.jvm.aot.LinkGlob;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import cc.squirreljme.vm.InMemoryClassLibrary; import cc.squirreljme.vm.InMemoryClassLibrary;
import dev.shadowtail.jarfile.JarMinimizer; import dev.shadowtail.jarfile.JarMinimizer;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
package cc.squirreljme.jvm; package cc.squirreljme.jvm;
import cc.squirreljme.jvm.mle.constants.BuiltInLocaleType;
import cc.squirreljme.jvm.mle.constants.PipeErrorType; import cc.squirreljme.jvm.mle.constants.PipeErrorType;
import cc.squirreljme.jvm.mle.constants.VerboseDebugFlag; import cc.squirreljme.jvm.mle.constants.VerboseDebugFlag;
import cc.squirreljme.jvm.summercoat.SystemCall; import cc.squirreljme.jvm.summercoat.SystemCall;
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
package cc.squirreljme.jvm.config; package cc.squirreljme.jvm.config;
import cc.squirreljme.jvm.config.ConfigRomKey;
import cc.squirreljme.runtime.cldc.debug.Debugging; import cc.squirreljme.runtime.cldc.debug.Debugging;
import java.util.NoSuchElementException; import java.util.NoSuchElementException;
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
package cc.squirreljme.jvm.config; package cc.squirreljme.jvm.config;
import cc.squirreljme.jvm.config.ConfigRomKey;
import java.io.ByteArrayOutputStream; import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream; import java.io.DataOutputStream;
import java.io.IOException; import java.io.IOException;
......
...@@ -9,11 +9,9 @@ ...@@ -9,11 +9,9 @@
package cc.squirreljme.jvm.mle; package cc.squirreljme.jvm.mle;
import cc.squirreljme.jvm.Assembly;
import cc.squirreljme.jvm.mle.brackets.JarPackageBracket; import cc.squirreljme.jvm.mle.brackets.JarPackageBracket;
import cc.squirreljme.jvm.mle.brackets.TypeBracket; import cc.squirreljme.jvm.mle.brackets.TypeBracket;
import cc.squirreljme.jvm.mle.exceptions.MLECallError; import cc.squirreljme.jvm.mle.exceptions.MLECallError;
import cc.squirreljme.runtime.cldc.debug.Debugging;
/** /**
* Provides the shelf for types that exist within the JVM. * Provides the shelf for types that exist within the JVM.
......
...@@ -12,7 +12,6 @@ package cc.squirreljme.jvm.summercoat; ...@@ -12,7 +12,6 @@ package cc.squirreljme.jvm.summercoat;
import cc.squirreljme.jvm.CallStackItem; import cc.squirreljme.jvm.CallStackItem;
import cc.squirreljme.jvm.SystemCallError; import cc.squirreljme.jvm.SystemCallError;
import cc.squirreljme.jvm.SystemCallIndex; import cc.squirreljme.jvm.SystemCallIndex;
import cc.squirreljme.jvm.mle.constants.BuiltInLocaleType;
import cc.squirreljme.jvm.mle.constants.PipeErrorType; import cc.squirreljme.jvm.mle.constants.PipeErrorType;
import cc.squirreljme.jvm.mle.constants.VerboseDebugFlag; import cc.squirreljme.jvm.mle.constants.VerboseDebugFlag;
import cc.squirreljme.jvm.mle.exceptions.MLECallError; import cc.squirreljme.jvm.mle.exceptions.MLECallError;
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
package cc.squirreljme.runtime.cldc.asm; package cc.squirreljme.runtime.cldc.asm;
import cc.squirreljme.runtime.cldc.SquirrelJME;
import cc.squirreljme.runtime.cldc.annotation.Api; import cc.squirreljme.runtime.cldc.annotation.Api;
import cc.squirreljme.runtime.cldc.lang.ApiLevel; import cc.squirreljme.runtime.cldc.lang.ApiLevel;
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
package cc.squirreljme.runtime.cldc.util; package cc.squirreljme.runtime.cldc.util;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import java.util.AbstractList; import java.util.AbstractList;
import java.util.List; import java.util.List;
import java.util.RandomAccess; import java.util.RandomAccess;
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
package cc.squirreljme.runtime.cldc.util; package cc.squirreljme.runtime.cldc.util;
import cc.squirreljme.runtime.cldc.debug.Debugging;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Comparator; import java.util.Comparator;
import java.util.List; import java.util.List;
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
package cc.squirreljme.runtime.cldc.util; package cc.squirreljme.runtime.cldc.util;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection; import java.util.Collection;
/** /**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment