Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 85772 invoked from network); 19 Oct 2009 02:28:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 02:28:54 -0000 Received: (qmail 65299 invoked by uid 500); 19 Oct 2009 02:28:54 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 65125 invoked by uid 500); 19 Oct 2009 02:28:53 -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 65104 invoked by uid 99); 19 Oct 2009 02:28:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 02:28:53 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 02:28:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5ED10234C1E9 for ; Sun, 18 Oct 2009 19:28:31 -0700 (PDT) Message-ID: <1994068763.1255919311387.JavaMail.jira@brutus> Date: Sun, 18 Oct 2009 19:28:31 -0700 (PDT) From: "Sebb (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (LANG-540) Make NumericEntityEscaper immutable In-Reply-To: <1518743440.1255919191353.JavaMail.jira@brutus> 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/LANG-540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb updated LANG-540: ---------------------- Attachment: NumericEntityEscaper.patch > Make NumericEntityEscaper immutable > ----------------------------------- > > Key: LANG-540 > URL: https://issues.apache.org/jira/browse/LANG-540 > Project: Commons Lang > Issue Type: Improvement > Reporter: Sebb > Fix For: 3.0 > > Attachments: NumericEntityEscaper.patch > > > NumericEntityEscaper is currently mutable and not thread-safe. > It can easily be made immutable (and thus thread-safe) by using a private constructor to set the instance fields. > See patch to follow. > A similar approach can be used for some of the other classes in the translate package. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.