Removed superfluous ObjectStreamException declaration

This commit is contained in:
Juergen Hoeller 2015-10-09 22:55:28 +02:00
parent 112781fb47
commit 21e0e27fcb
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@
package org.springframework.core; package org.springframework.core;
import java.io.ObjectStreamException;
import java.io.Serializable; import java.io.Serializable;
import java.lang.reflect.Array; import java.lang.reflect.Array;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
@ -859,7 +858,7 @@ public class ResolvableType implements Serializable {
/** /**
* Custom serialization support for {@link #NONE}. * Custom serialization support for {@link #NONE}.
*/ */
private Object readResolve() throws ObjectStreamException { private Object readResolve() {
return (this.type == null ? NONE : this); return (this.type == null ? NONE : this);
} }