From httpcomponents-dev-return-16054-apmail-jakarta-httpcomponents-dev-archive=jakarta.apache.org@jakarta.apache.org Sun Jun 10 13:50:47 2007 Return-Path: Delivered-To: apmail-jakarta-httpcomponents-dev-archive@www.apache.org Received: (qmail 81039 invoked from network); 10 Jun 2007 13:50:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jun 2007 13:50:47 -0000 Received: (qmail 42305 invoked by uid 500); 10 Jun 2007 13:50:50 -0000 Delivered-To: apmail-jakarta-httpcomponents-dev-archive@jakarta.apache.org Received: (qmail 42294 invoked by uid 500); 10 Jun 2007 13:50:50 -0000 Mailing-List: contact httpcomponents-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list httpcomponents-dev@jakarta.apache.org Received: (qmail 42285 invoked by uid 99); 10 Jun 2007 13:50:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jun 2007 06:50:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jun 2007 06:50:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F405A7141F6 for ; Sun, 10 Jun 2007 06:50:25 -0700 (PDT) Message-ID: <32536994.1181483425997.JavaMail.jira@brutus> Date: Sun, 10 Jun 2007 06:50:25 -0700 (PDT) From: =?utf-8?Q?Daniel_M=C3=BCller_=28JIRA=29?= To: httpcomponents-dev@jakarta.apache.org Subject: [jira] Created: (HTTPCORE-79) DateUtils should cache SimpleDateFormat MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org DateUtils should cache SimpleDateFormat --------------------------------------- Key: HTTPCORE-79 URL: https://issues.apache.org/jira/browse/HTTPCORE-79 Project: HttpComponents Core Issue Type: Improvement Components: HttpCore Affects Versions: 4.0-alpha5 Reporter: Daniel M=C3=BCller Priority: Minor DateUtils create a SimpleDateFormat for each invocation of #formatDate and = #parseDate. This can be optimized if SimpleDateFormat instances are cached.= Since SimpleDateFormat is not threadsafe, the cache must be threadlocal. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org