Browse Source

Delete unused method in TypeDescriptor

pull/753/merge
Sam Brannen 11 years ago
parent
commit
afee546973
  1. 4
      spring-core/src/main/java/org/springframework/core/convert/TypeDescriptor.java

4
spring-core/src/main/java/org/springframework/core/convert/TypeDescriptor.java

@ -437,10 +437,6 @@ public class TypeDescriptor implements Serializable { @@ -437,10 +437,6 @@ public class TypeDescriptor implements Serializable {
return narrow(mapValue, getMapValueTypeDescriptor());
}
private Class<?> getType(TypeDescriptor typeDescriptor) {
return (typeDescriptor != null ? typeDescriptor.getType() : null);
}
private TypeDescriptor narrow(Object value, TypeDescriptor typeDescriptor) {
if (typeDescriptor != null) {
return typeDescriptor.narrow(value);

Loading…
Cancel
Save