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:11:58 UTC
svn commit: r1578696 -
/hadoop/common/branches/branch-2.4/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java
Author: enis
Date: Tue Mar 18 01:11:57 2014
New Revision: 1578696
URL: http://svn.apache.org/r1578696
Log:
HADOOP-10383 InterfaceStability annotations should have RetentionPolicy.RUNTIME
Modified:
hadoop/common/branches/branch-2.4/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java
Modified: hadoop/common/branches/branch-2.4/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.4/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java?rev=1578696&r1=1578695&r2=1578696&view=diff
==============================================================================
--- hadoop/common/branches/branch-2.4/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java (original)
+++ hadoop/common/branches/branch-2.4/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java Tue Mar 18 01:11: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 {};
}