poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ye...@apache.org
Subject svn commit: r1149119 - /poi/trunk/src/java/org/apache/poi/util/Beta.java
Date Thu, 21 Jul 2011 11:09:03 GMT
Author: yegor
Date: Thu Jul 21 11:09:02 2011
New Revision: 1149119

URL: http://svn.apache.org/viewvc?rev=1149119&view=rev
Log:
added @Beta annotation to mark code that is subject to incompatible changes in future releases

Added:
    poi/trunk/src/java/org/apache/poi/util/Beta.java
      - copied, changed from r1149095, poi/trunk/src/java/org/apache/poi/util/Internal.java

Copied: poi/trunk/src/java/org/apache/poi/util/Beta.java (from r1149095, poi/trunk/src/java/org/apache/poi/util/Internal.java)
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/util/Beta.java?p2=poi/trunk/src/java/org/apache/poi/util/Beta.java&p1=poi/trunk/src/java/org/apache/poi/util/Internal.java&r1=1149095&r2=1149119&rev=1149119&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/util/Internal.java (original)
+++ poi/trunk/src/java/org/apache/poi/util/Beta.java Thu Jul 21 11:09:02 2011
@@ -23,16 +23,13 @@ import java.lang.annotation.Documented;
 
 
 /**
- * Program elements annotated @Internal are intended for
- * POI internal use only. Such elements are not public by design
- * and likely to be removed in future versions of POI  or access
- * to such elements will be changed from 'public' to 'default' or less.
- *
- * @author Yegor Kozlov
- * @since POI-3.6
+ * Signifies that a public API (public class, method or field) is subject to
+ * incompatible changes, or even removal, in a future release. An API bearing
+ * this annotation is exempt from any compatibility guarantees made by its
+ * containing library.
  */
 @Documented
-@Retention(RetentionPolicy.RUNTIME)
-public @interface Internal {
-    String value() default "";    
-}
+@Retention(RetentionPolicy.SOURCE)
+public @interface Beta {
+    
+}
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message