Make TypeDescriptor serializable

Issue: SPR-10631
This commit is contained in:
Phillip Webb
2013-07-23 14:17:19 -07:00
parent 9939c4809b
commit 9eb596a7e5
2 changed files with 22 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
package org.springframework.core.convert;
import java.io.Serializable;
import java.lang.annotation.Annotation;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
@@ -38,7 +39,10 @@ import org.springframework.util.ObjectUtils;
* @author Sam Brannen
* @since 3.0
*/
public class TypeDescriptor {
public class TypeDescriptor implements Serializable {
private static final long serialVersionUID = 1L;
static final Annotation[] EMPTY_ANNOTATION_ARRAY = new Annotation[0];