hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7362) Create a Lock annotation to document locking (hierarchies) for methods
Date Tue, 07 Jun 2011 17:41:59 GMT

    [ 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

Mime
View raw message