Skip to content

Commit 21e0e27

Browse files
committed
Removed superfluous ObjectStreamException declaration
1 parent 112781f commit 21e0e27

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-core/src/main/java/org/springframework/core/ResolvableType.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package org.springframework.core;
1818

19-
import java.io.ObjectStreamException;
2019
import java.io.Serializable;
2120
import java.lang.reflect.Array;
2221
import java.lang.reflect.Constructor;
@@ -859,7 +858,7 @@ VariableResolver asVariableResolver() {
859858
/**
860859
* Custom serialization support for {@link #NONE}.
861860
*/
862-
private Object readResolve() throws ObjectStreamException {
861+
private Object readResolve() {
863862
return (this.type == null ? NONE : this);
864863
}
865864

0 commit comments

Comments
 (0)