Browse Source

Deprecated org.springframework.enums

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1687 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/head
Arjen Poutsma 17 years ago
parent
commit
b0b090a403
  1. 2
      org.springframework.core/src/main/java/org/springframework/core/enums/AbstractCachingLabeledEnumResolver.java
  2. 3
      org.springframework.core/src/main/java/org/springframework/core/enums/AbstractGenericLabeledEnum.java
  3. 4
      org.springframework.core/src/main/java/org/springframework/core/enums/AbstractLabeledEnum.java
  4. 4
      org.springframework.core/src/main/java/org/springframework/core/enums/LabeledEnum.java
  5. 4
      org.springframework.core/src/main/java/org/springframework/core/enums/LabeledEnumResolver.java
  6. 4
      org.springframework.core/src/main/java/org/springframework/core/enums/LetterCodedLabeledEnum.java
  7. 4
      org.springframework.core/src/main/java/org/springframework/core/enums/ShortCodedLabeledEnum.java
  8. 4
      org.springframework.core/src/main/java/org/springframework/core/enums/StaticLabeledEnum.java
  9. 4
      org.springframework.core/src/main/java/org/springframework/core/enums/StaticLabeledEnumResolver.java
  10. 4
      org.springframework.core/src/main/java/org/springframework/core/enums/StringCodedLabeledEnum.java

2
org.springframework.core/src/main/java/org/springframework/core/enums/AbstractCachingLabeledEnumResolver.java

@ -40,7 +40,9 @@ import org.springframework.util.ClassUtils; @@ -40,7 +40,9 @@ import org.springframework.util.ClassUtils;
* @author Juergen Hoeller
* @since 1.2.2
* @see #findLabeledEnums(Class)
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public abstract class AbstractCachingLabeledEnumResolver implements LabeledEnumResolver {
protected transient final Log logger = LogFactory.getLog(getClass());

3
org.springframework.core/src/main/java/org/springframework/core/enums/AbstractGenericLabeledEnum.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2006 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -21,6 +21,7 @@ package org.springframework.core.enums; @@ -21,6 +21,7 @@ package org.springframework.core.enums;
*
* @author Keith Donald
* @since 1.2.6
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
public abstract class AbstractGenericLabeledEnum extends AbstractLabeledEnum {

4
org.springframework.core/src/main/java/org/springframework/core/enums/AbstractLabeledEnum.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -23,7 +23,9 @@ package org.springframework.core.enums; @@ -23,7 +23,9 @@ package org.springframework.core.enums;
* @author Juergen Hoeller
* @author Sam Brannen
* @since 1.2.2
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public abstract class AbstractLabeledEnum implements LabeledEnum {
/**

4
org.springframework.core/src/main/java/org/springframework/core/enums/LabeledEnum.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2006 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -39,7 +39,9 @@ import org.springframework.util.comparator.NullSafeComparator; @@ -39,7 +39,9 @@ import org.springframework.util.comparator.NullSafeComparator;
*
* @author Keith Donald
* @since 1.2.2
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public interface LabeledEnum extends Comparable, Serializable {
/**

4
org.springframework.core/src/main/java/org/springframework/core/enums/LabeledEnumResolver.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2005 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -25,7 +25,9 @@ import java.util.Set; @@ -25,7 +25,9 @@ import java.util.Set;
* @author Keith Donald
* @author Juergen Hoeller
* @since 1.2.2
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public interface LabeledEnumResolver {
/**

4
org.springframework.core/src/main/java/org/springframework/core/enums/LetterCodedLabeledEnum.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2005 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -27,7 +27,9 @@ import org.springframework.util.Assert; @@ -27,7 +27,9 @@ import org.springframework.util.Assert;
*
* @author Keith Donald
* @since 1.2.2
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public class LetterCodedLabeledEnum extends AbstractGenericLabeledEnum {
/**

4
org.springframework.core/src/main/java/org/springframework/core/enums/ShortCodedLabeledEnum.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2005 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -25,7 +25,9 @@ package org.springframework.core.enums; @@ -25,7 +25,9 @@ package org.springframework.core.enums;
*
* @author Keith Donald
* @since 1.2.2
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public class ShortCodedLabeledEnum extends AbstractGenericLabeledEnum {
/**

4
org.springframework.core/src/main/java/org/springframework/core/enums/StaticLabeledEnum.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2006 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -41,7 +41,9 @@ package org.springframework.core.enums; @@ -41,7 +41,9 @@ package org.springframework.core.enums;
*
* @author Keith Donald
* @since 1.2.6
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public abstract class StaticLabeledEnum extends AbstractLabeledEnum {
/**

4
org.springframework.core/src/main/java/org/springframework/core/enums/StaticLabeledEnumResolver.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2008 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -31,7 +31,9 @@ import org.springframework.util.Assert; @@ -31,7 +31,9 @@ import org.springframework.util.Assert;
* @author Keith Donald
* @author Juergen Hoeller
* @since 1.2.2
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public class StaticLabeledEnumResolver extends AbstractCachingLabeledEnumResolver {
/**

4
org.springframework.core/src/main/java/org/springframework/core/enums/StringCodedLabeledEnum.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 the original author or authors.
* Copyright 2002-2009 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -29,7 +29,9 @@ import org.springframework.util.Assert; @@ -29,7 +29,9 @@ import org.springframework.util.Assert;
* @author Juergen Hoeller
* @since 1.2.2
* @see org.springframework.core.enums.LabeledEnumResolver#getLabeledEnumSet(Class)
* @deprecated as of Spring 3.0, in favor of Java 5 enums.
*/
@Deprecated
public class StringCodedLabeledEnum extends AbstractGenericLabeledEnum {
/**

Loading…
Cancel
Save