Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A84621059D for ; Thu, 7 Nov 2013 19:53:18 +0000 (UTC) Received: (qmail 87862 invoked by uid 500); 7 Nov 2013 19:53:18 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 87823 invoked by uid 500); 7 Nov 2013 19:53:18 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 87741 invoked by uid 99); 7 Nov 2013 19:53:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Nov 2013 19:53:18 +0000 Date: Thu, 7 Nov 2013 19:53:18 +0000 (UTC) From: "Bill Havanki (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (ACCUMULO-1863) Make JCIP annotations available MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Bill Havanki created ACCUMULO-1863: -------------------------------------- Summary: Make JCIP annotations available Key: ACCUMULO-1863 URL: https://issues.apache.org/jira/browse/ACCUMULO-1863 Project: Accumulo Issue Type: Improvement Reporter: Bill Havanki Priority: Trivial During review of ACCUMULO-1556, it occurred to me that it could be beneficial to integrate the JCIP annotations (["old" JCIP site|http://jcip.net.s3-website-us-east-1.amazonaws.com/]). The annotations point out where code is thread-safe and not thread-safe, immutable objects, and items where access is guarded by a lock (object). By themselves the annotations do nothing, but static analysis tools like [FindBugs|http://findbugs.sourceforge.net] can use them to look for threading problems more easily and widely. A downside is that the annotations include a compile-time Maven dependency (which could be worked around with optional scoping, for example). This ticket would only be for adding the JCIP dependency so that the annotations are available for future work, and specifically not applying them to existing code right now. -- This message was sent by Atlassian JIRA (v6.1#6144)