Return-Path: Delivered-To: apmail-incubator-click-dev-archive@minotaur.apache.org Received: (qmail 38938 invoked from network); 17 Jan 2010 12:42:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Jan 2010 12:42:17 -0000 Received: (qmail 94541 invoked by uid 500); 17 Jan 2010 12:42:17 -0000 Delivered-To: apmail-incubator-click-dev-archive@incubator.apache.org Received: (qmail 94503 invoked by uid 500); 17 Jan 2010 12:42:17 -0000 Mailing-List: contact click-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: click-dev@incubator.apache.org Delivered-To: mailing list click-dev@incubator.apache.org Received: (qmail 94495 invoked by uid 99); 17 Jan 2010 12:42:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jan 2010 12:42:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Sun, 17 Jan 2010 12:42:15 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6DE01234C498 for ; Sun, 17 Jan 2010 04:41:54 -0800 (PST) Message-ID: <1182040788.298051263732114448.JavaMail.jira@brutus.apache.org> Date: Sun, 17 Jan 2010 12:41:54 +0000 (UTC) From: "Bob Schellink (JIRA)" To: click-dev@incubator.apache.org Subject: [jira] Resolved: (CLK-610) DateField formatPattern should not be static string, but static variable In-Reply-To: <888884403.297411263725994458.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CLK-610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bob Schellink resolved CLK-610. ------------------------------- Resolution: Fixed Fix Version/s: 2.1.0 Assignee: Bob Schellink Fixed in trunk. > DateField formatPattern should not be static string, but static variable > ------------------------------------------------------------------------ > > Key: CLK-610 > URL: https://issues.apache.org/jira/browse/CLK-610 > Project: Click > Issue Type: Improvement > Reporter: Andrey Rybin > Assignee: Bob Schellink > Fix For: 2.1.0 > > > DateField constructors contain this code: > super(...); > ... > setFormatPattern("dd MMM yyyy"); > (yes, same code 3 times ;-) > I suggest to replace it with this: > public static String defaultFormatPattern = "dd MMM yyyy"; > super(...); > ... > setFormatPattern(defaultFormatPattern); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.