removed unused imports
This commit is contained in:
parent
54a2444fa9
commit
4be9767a28
@ -16,18 +16,16 @@
|
||||
|
||||
package com.google.gson;
|
||||
|
||||
import sun.misc.Unsafe;
|
||||
|
||||
import java.lang.reflect.Array;
|
||||
import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.Field;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Type;
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import sun.misc.Unsafe;
|
||||
|
||||
/**
|
||||
* This class contains a mapping of all the application specific
|
||||
* {@link InstanceCreator} instances. Registering an {@link InstanceCreator}
|
||||
|
@ -21,7 +21,6 @@ import java.util.LinkedList;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import com.google.gson.common.TestTypes;
|
||||
import com.google.gson.common.TestTypes.ClassWithNoFields;
|
||||
|
||||
/**
|
||||
|
@ -16,12 +16,10 @@
|
||||
|
||||
package com.google.gson;
|
||||
|
||||
import com.google.gson.common.TestTypes.CrazyLongTypeAdapter;
|
||||
import java.lang.reflect.Type;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import java.lang.reflect.Type;
|
||||
|
||||
/**
|
||||
* Unit tests for the {@link MappedObjectConstructor} class.
|
||||
*
|
||||
@ -82,6 +80,7 @@ public class MappedObjectConstructorTest extends TestCase {
|
||||
}
|
||||
|
||||
private static class ObjectNoDefaultConstructor extends ObjectWithDefaultConstructor {
|
||||
@SuppressWarnings("unused")
|
||||
public ObjectNoDefaultConstructor(String stringValue, int intValue) {
|
||||
super(stringValue, intValue);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user