Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 48451 invoked from network); 4 Aug 2009 17:01:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 Aug 2009 17:01:28 -0000 Received: (qmail 1712 invoked by uid 500); 4 Aug 2009 17:01:33 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 1593 invoked by uid 500); 4 Aug 2009 17:01:32 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 1583 invoked by uid 99); 4 Aug 2009 17:01:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 17:01:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rahul.akolkar@gmail.com designates 74.125.92.147 as permitted sender) Received: from [74.125.92.147] (HELO qw-out-1920.google.com) (74.125.92.147) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Aug 2009 17:01:24 +0000 Received: by qw-out-1920.google.com with SMTP id 14so2092637qwa.60 for ; Tue, 04 Aug 2009 10:01:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=FC10YQXlVvrK3O6dtznT8qCJfP3WQP7xcd/bUI3xpeA=; b=uf4eAjl0Y3vBxeDJCnUrnneiTwpmL8S95f7SATcRvNO0oP2bZOfo7W3bRGDHcLxHg4 vGAwDuoXi8xhS9TG1khm2k2zSjYWP8okJS9WD+Eobmw/C7Q0uz+imH+ooaBxEPXthGwH R6+Km0hTK2pjwfA6TXRkW+eTbfsQwrQa6Id2M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=t5Jgk2pBSrXR89A3WDnRLWf2Bs0nq5be8rJc0IGWIpOogpgkXACWKiLYgt1qWFKvy2 0TmlTuUuW5iwUnCKVbUzL7DuboMbMlPiX4tGK4ADExexI3MoWyJYJsDEDhi+51aW3LRG +k1g5d83P7fpwK+Vl1zjvwjW5s72UBfLjYksE= MIME-Version: 1.0 Received: by 10.224.6.147 with SMTP id 19mr6107561qaz.348.1249405264034; Tue, 04 Aug 2009 10:01:04 -0700 (PDT) In-Reply-To: <25aac9fc0908040842j6586ad24k6dbf0de14bc1e9e7@mail.gmail.com> References: <25aac9fc0908030857t210e7303nef47d31425d8ab60@mail.gmail.com> <25aac9fc0908031848k6cd7c6aeif921009510b99a6b@mail.gmail.com> <25aac9fc0908040842j6586ad24k6dbf0de14bc1e9e7@mail.gmail.com> Date: Tue, 4 Aug 2009 13:01:03 -0400 Message-ID: Subject: Re: [JEXL] Handling of deprecated items in 2.0 From: Rahul Akolkar To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Aug 4, 2009 at 11:42 AM, sebb wrote: > On 04/08/2009, sebb wrote: >> On 03/08/2009, Rahul Akolkar wrote: >> =A0> On Mon, Aug 3, 2009 at 11:57 AM, sebb wrote: >> =A0> =A0> There are some classes and methods which are now deprecated in= 2.0. >> =A0> =A0> >> =A0> =A0> However, the deprecated items are still used by much of the te= st code. >> =A0> =A0> >> =A0> =A0> Seems to me that the test cases ought not to use deprecated cl= asses >> =A0> =A0> and methods unless the test is actually for testing the item. >> =A0> =A0> >> =A0> =A0> Any views on this? >> =A0> =A0> >> =A0> >> =A0> >> =A0> >> =A0> =A0Sure makes sense to remove usage in tests. One step further, giv= en >> =A0> =A0that a major release is one of the few occassions we can actuall= y do >> =A0> =A0this, we can look at removing some deprecated methods and classe= s >> =A0> =A0altogether if it helps clean things up and gets us a cleaner, >> =A0> =A0unambiguous API as a result. >> >> >> +1 > > There are now no references to the deprecated classes and methods in > any of the code. > > I removed the deprecated stuff from the workspace, and "mvn clean > test" works OK. > > So I think we could consider dropping the two classes: > > ExpressionFactory > ScriptFactory > Yes, I'm OK with this since it helps the API -- with a prominent note in RELEASE-NOTES.txt (which we should prepare towards to 2.0 anyway). > and removing the methods: > > JexlEngine.getDefault() JexlEngine is @since 2.0 so once the two classes above disappear, this serves no useful purpose and can be promptly removed. > and > Info.getTemplateName() > Yup, this can go as well. -Rahul --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org