From adffaces-issues-return-1555-apmail-incubator-adffaces-issues-archive=incubator.apache.org@incubator.apache.org Wed Dec 13 00:31:42 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-issues-archive@locus.apache.org Received: (qmail 47020 invoked from network); 13 Dec 2006 00:31:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Dec 2006 00:31:42 -0000 Received: (qmail 84884 invoked by uid 500); 13 Dec 2006 00:31:50 -0000 Delivered-To: apmail-incubator-adffaces-issues-archive@incubator.apache.org Received: (qmail 84813 invoked by uid 500); 13 Dec 2006 00:31:50 -0000 Mailing-List: contact adffaces-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-issues@incubator.apache.org Delivered-To: mailing list adffaces-issues@incubator.apache.org Received: (qmail 84746 invoked by uid 99); 13 Dec 2006 00:31:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 16:31:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= 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; Tue, 12 Dec 2006 16:31:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A437A71404B for ; Tue, 12 Dec 2006 16:31:21 -0800 (PST) Message-ID: <24227140.1165969881669.JavaMail.jira@brutus> Date: Tue, 12 Dec 2006 16:31:21 -0800 (PST) From: "Adam Winer (JIRA)" To: adffaces-issues@incubator.apache.org Subject: [jira] Updated: (ADFFACES-316) Fix MVariableResolver to use Calendar APIs instead of deprecated Date APIs In-Reply-To: <8245038.1165265361197.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/ADFFACES-316?page=all ] Adam Winer updated ADFFACES-316: -------------------------------- Status: Open (was: Patch Available) > Fix MVariableResolver to use Calendar APIs instead of deprecated Date APIs > -------------------------------------------------------------------------- > > Key: ADFFACES-316 > URL: http://issues.apache.org/jira/browse/ADFFACES-316 > Project: MyFaces ADF-Faces > Issue Type: Test > Reporter: Yee-Wah Lee > Priority: Trivial > Attachments: ChooseDateRenderer.patch, trinidad-impl.patch, trinidad-impl.patch > > > MVariableResolver is used by the ChooseDateRenderer tests to get min, max and midDate values. This is so the tests always generate the same output. > However, the APIs used in the code are the deprecated Date constructors. I will replace them with the suggested GregorianCalendar equivalents. > Patch file contains changes to MVariableResolver.java (new Calendar calls, and some import cleanups) and the corresponding chooseDate golden files -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira