Consistent non-declaration of serialVersionUID

This commit is contained in:
Juergen Hoeller
2013-12-20 00:06:40 +01:00
parent 7ad6df8c75
commit f457319965
2 changed files with 2 additions and 5 deletions

View File

@@ -39,11 +39,9 @@ import org.springframework.util.ObjectUtils;
* @author Sam Brannen
* @since 3.0
*/
@SuppressWarnings("serial")
public class TypeDescriptor implements Serializable {
private static final long serialVersionUID = 1L;
static final Annotation[] EMPTY_ANNOTATION_ARRAY = new Annotation[0];
private static final Map<Class<?>, TypeDescriptor> typeDescriptorCache = new HashMap<Class<?>, TypeDescriptor>();

View File

@@ -28,10 +28,9 @@ package org.springframework.core.enums;
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
@SuppressWarnings("serial")
public class ShortCodedLabeledEnum extends AbstractGenericLabeledEnum {
private static final long serialVersionUID = 1L;
/**
* The unique code of this enum.
*/