Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 58899 invoked from network); 31 Jan 2011 19:36:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Jan 2011 19:36:51 -0000 Received: (qmail 40656 invoked by uid 500); 31 Jan 2011 19:36:51 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 40317 invoked by uid 500); 31 Jan 2011 19:36:50 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 40303 invoked by uid 99); 31 Jan 2011 19:36:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 19:36:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jan 2011 19:36:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 5B5A4183F4A for ; Mon, 31 Jan 2011 19:36:29 +0000 (UTC) Date: Mon, 31 Jan 2011 19:36:29 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: <2080445279.396.1296502589370.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (NET-222) Implement threadsafety annotations: @ThreadSafe, @Immutable etc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-222?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988859#comment-12988859 ] Sebb commented on NET-222: -------------------------- Note: some versions of the javax.concurrent.annotations have Retention=Runtime which will cause problems. > Implement threadsafety annotations: @ThreadSafe, @Immutable etc > --------------------------------------------------------------- > > Key: NET-222 > URL: https://issues.apache.org/jira/browse/NET-222 > Project: Commons Net > Issue Type: Wish > Reporter: Sebb > Priority: Trivial > > It would be very helpful for maintaing and checking code if the classes and fields were updated with the thread-safety annotations: > @Immutable > @Threadsafe > @NotThreadsafe > @GuardedBy > These can be used by tools such as Findbugs to check that code conforms to the annotations -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira