removed unused imports

This commit is contained in:
Inderjeet Singh 2011-02-24 20:18:03 +00:00
parent 54a2444fa9
commit 4be9767a28
3 changed files with 4 additions and 8 deletions

View File

@ -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}

View File

@ -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;
/**

View File

@ -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);
}