Consistent non-declaration of serialVersionUID
This commit is contained in:
@@ -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>();
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user