Removed some compiler warnings and unnecessary imports.

This commit is contained in:
Oliver Gierke
2011-03-23 07:46:08 +01:00
parent b7c81e3a4e
commit b514e35105
5 changed files with 3 additions and 4 deletions

View File

@@ -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) {

View File

@@ -16,7 +16,6 @@
package org.springframework.data.repository;
import java.io.Serializable;
import java.util.List;
/**

View File

@@ -89,6 +89,7 @@ public class QueryMethod {
}
@SuppressWarnings("rawtypes")
public EntityMetadata<?> getEntityInformation() {
return new EntityMetadata() {

View File

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

View File

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