[ 
https://issues.apache.org/jira/browse/HADOOP-5073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751119#action_12751119
 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-5073:
------------------------------------------------

> Another approach to take is to have nested interface as follows ...
This is very creative.  However, it does not seem that the nested annotation is 
designed for this purpose.

In java.lang.annotation, this is an 
[...@retention|http://java.sun.com/javase/6/docs/api/java/lang/annotation/Retention.html]
 annotation, which is very similar to our @Audience annotation.  @Retention is 
declared with a RetentionPolicy value, where RetentionPolicy is an enum.  We 
should do the same.

> Hadoop 1.0 Interface Classification - scope (visibility - public/private) and 
> stability
> ---------------------------------------------------------------------------------------
>
>                 Key: HADOOP-5073
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5073
>             Project: Hadoop Common
>          Issue Type: Sub-task
>            Reporter: Sanjay Radia
>            Assignee: Sanjay Radia
>         Attachments: 5073_demo.png, c5073_20090825.patch, c5073_20090825.png, 
> HADOOP-5073.patch
>
>
> This jira proposes an interface classification for hadoop interfaces.
> The discussion was started in email alias core-...@hadoop.apache.org in Nov 
> 2008.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to