You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by en...@apache.org on 2014/03/18 02:07:57 UTC
svn commit: r1578694 -
/hadoop/common/branches/branch-2/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java
Author: enis
Date: Tue Mar 18 01:07:57 2014
New Revision: 1578694
URL: http://svn.apache.org/r1578694
Log:
HADOOP-10383 InterfaceStability annotations should have RetentionPolicy.RUNTIME
Modified:
hadoop/common/branches/branch-2/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java
Modified: hadoop/common/branches/branch-2/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java?rev=1578694&r1=1578693&r2=1578694&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java (original)
+++ hadoop/common/branches/branch-2/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java Tue Mar 18 01:07:57 2014
@@ -18,6 +18,8 @@
package org.apache.hadoop.classification;
import java.lang.annotation.Documented;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
/**
* Annotation to inform users of how much to rely on a particular package,
@@ -32,12 +34,14 @@ public class InterfaceStability {
* can break compatibility only at major release (ie. at m.0).
*/
@Documented
+ @Retention(RetentionPolicy.RUNTIME)
public @interface Stable {};
/**
* Evolving, but can break compatibility at minor release (i.e. m.x)
*/
@Documented
+ @Retention(RetentionPolicy.RUNTIME)
public @interface Evolving {};
/**
@@ -45,5 +49,6 @@ public class InterfaceStability {
* level of release granularity.
*/
@Documented
+ @Retention(RetentionPolicy.RUNTIME)
public @interface Unstable {};
}