hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1578696 - /hadoop/common/branches/branch-2.4/hadoop-common-project/hadoop-annotations/src/main/java/org/apache/hadoop/classification/InterfaceStability.java
Date Tue, 18 Mar 2014 01:11:58 GMT
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 {};
 }



Mime
View raw message