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

Luke Lu commented on HADOOP-7362:
---------------------------------

The findbug annotations and runtime asserts are complimentary. You can use 
@CheckForNull on a field and findbugs will warn if checks (e.g., via 
Preconditions.checkNotNull) is not actually performed.

> Create a Lock annotation to document locking (hierarchies) for methods
> ----------------------------------------------------------------------
>
>                 Key: HADOOP-7362
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7362
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Arun C Murthy
>            Assignee: Arun C Murthy
>
> It will be useful to have better developer docs via a Lock annotation to 
> document locking (hierarchies) for methods.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to