harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r821118 - /harmony/enhanced/classlib/trunk/modules/annotation/src/main/java/java/lang/annotation/Retention.java
Date Fri, 02 Oct 2009 18:08:51 GMT
Author: tellison
Date: Fri Oct  2 18:08:50 2009
New Revision: 821118

URL: http://svn.apache.org/viewvc?rev=821118&view=rev
Log:
Add JavaDoc for retention value.

Modified:
    harmony/enhanced/classlib/trunk/modules/annotation/src/main/java/java/lang/annotation/Retention.java

Modified: harmony/enhanced/classlib/trunk/modules/annotation/src/main/java/java/lang/annotation/Retention.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/annotation/src/main/java/java/lang/annotation/Retention.java?rev=821118&r1=821117&r2=821118&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/annotation/src/main/java/java/lang/annotation/Retention.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/annotation/src/main/java/java/lang/annotation/Retention.java
Fri Oct  2 18:08:50 2009
@@ -22,11 +22,18 @@
  * annotation. If the retention annotation is not set {@code
  * RetentionPolicy.CLASS} is used as default retention.
  *
+ * @see RetentionPolicy
  * @since 1.5
  */
 @Documented
 @Retention(RetentionPolicy.RUNTIME)
 @Target(ElementType.ANNOTATION_TYPE)
 public @interface Retention {
+    
+    /**
+     * Returns the retention policy for the annotation.
+     * 
+     * @return a retention policy as defined in {@code RetentionPolicy}
+     */
     RetentionPolicy value();
 }



Mime
View raw message