Removed some compiler warnings and unnecessary imports.
This commit is contained in:
@@ -25,6 +25,7 @@ import org.springframework.data.util.TypeInformation;
|
||||
*/
|
||||
public class MappingContextEvent extends ApplicationEvent {
|
||||
|
||||
private static final long serialVersionUID = 1336466833846092490L;
|
||||
private TypeInformation typeInformation;
|
||||
|
||||
public MappingContextEvent(PersistentEntity<?> source, TypeInformation typeInformation) {
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
package org.springframework.data.repository;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -89,6 +89,7 @@ public class QueryMethod {
|
||||
}
|
||||
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
public EntityMetadata<?> getEntityInformation() {
|
||||
|
||||
return new EntityMetadata() {
|
||||
|
||||
@@ -3,7 +3,6 @@ package org.springframework.data.util;
|
||||
import java.lang.reflect.Type;
|
||||
import java.lang.reflect.TypeVariable;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* Property information for a plain {@link Class}.
|
||||
|
||||
@@ -28,8 +28,6 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.WeakHashMap;
|
||||
|
||||
import org.springframework.core.GenericCollectionTypeResolver;
|
||||
import org.springframework.core.JdkVersion;
|
||||
import org.springframework.core.MethodParameter;
|
||||
import org.springframework.util.Assert;
|
||||
|
||||
@@ -40,6 +38,7 @@ import org.springframework.util.Assert;
|
||||
* TODO: remove that class, as soon as Spring 3.0.6 gets released.
|
||||
* @see SPR-8005
|
||||
*/
|
||||
@SuppressWarnings({"rawtypes", "unchecked"})
|
||||
abstract class GenericTypeResolver {
|
||||
|
||||
/** Cache from Class to TypeVariable Map */
|
||||
|
||||
Reference in New Issue
Block a user