Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 45296 invoked from network); 3 Mar 2011 15:44:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Mar 2011 15:44:06 -0000 Received: (qmail 62032 invoked by uid 500); 3 Mar 2011 15:44:05 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 61942 invoked by uid 500); 3 Mar 2011 15:44:05 -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 61932 invoked by uid 99); 3 Mar 2011 15:44:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 15:44:05 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of garydgregory@gmail.com designates 209.85.215.43 as permitted sender) Received: from [209.85.215.43] (HELO mail-ew0-f43.google.com) (209.85.215.43) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Mar 2011 15:43:59 +0000 Received: by ewy22 with SMTP id 22so574877ewy.30 for ; Thu, 03 Mar 2011 07:43:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=jDdJFBojqqFjTFyGYHufanII02e47dKtsuFgUTU4+E4=; b=ivaccjiBonrvNl/MIvlrgkXXkksWx4qwaQ8MfhHN6NaeubOttdZ3LQFVxO/rxc2EfX z3T5648xiQI6hhjw2r3ucShHSYwmslG67UJPlL8xsoN1MYZ0r66xpqS+4+stiJDazuzL TidzPpTxGzD7djLPr6Mbb737TBLsP3GgoNa6c= 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 :cc:content-type; b=FhwvtVQEqkHEu8KCki4BKzA98Cjgo0cGGoNwnfvvbaJXHHnGhLsvF9DJPUu/bgXWIa Vceg1HcCOdSincpmPMDD9qfTpsmJjLjQWYUp9v2my8whQqBIoOlfbETZYg/eGNhnf7fd AXcVAMXtMvNEgKHzcuqD+mfRAv7EUWpgxx9hs= MIME-Version: 1.0 Received: by 10.14.47.193 with SMTP id t41mr981750eeb.21.1299167018948; Thu, 03 Mar 2011 07:43:38 -0800 (PST) Received: by 10.14.119.141 with HTTP; Thu, 3 Mar 2011 07:43:38 -0800 (PST) In-Reply-To: References: Date: Thu, 3 Mar 2011 10:43:38 -0500 Message-ID: Subject: Re: [VOTE] Release Commons Lang 3.0 (RC1) From: Gary Gregory To: Commons Developers List Cc: Stephen Colebourne Content-Type: multipart/alternative; boundary=90e6ba61514aab1909049d95e408 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba61514aab1909049d95e408 Content-Type: text/plain; charset=UTF-8 Good feedback, thank you for taking the time to dig in. (I do not have to time to patch ATM...) Gary On Thu, Mar 3, 2011 at 6:59 AM, Stephen Colebourne wrote: > I'm not overly enthused about some of the changes, but since I've not > been paying attention its difficult for me to vote/block. Anyway here > is my review: > > ArrayUtils.hashCode() has been removed, but it had different > functionality to Arrays.hashCode wrt nested arrays. > > Object[] arrayA = new Object[] {new boolean[] {true, false}, > new int[] {6, 7}}; > Object[] arrayB = new Object[] {new boolean[] {true, false}, > new int[] {6, 7}}; > assertEquals(true, Arrays.hashCode(arrayB) == > Arrays.hashCode(arrayA)); > > I don't love the new Pair class. We have an interface based version > here at OpenGamma to allow primitive implementations for performance. > I might be able to get our code released if there was interest. > > ArrayUtils.toArray() javadoc has example code that won't compile > (missing "new") and also misses < > in places. > > Some new methods use a different brace position from the existing > code, such as ArrayUtils.toArray(), Validate.matchesPattern(), > Validate.exclusiveBetween()... > > Some new code isn't explicit about null handling, such as > AnnotationUtils, CharSequenceUtils, Validate.exclusiveBetween()... > > Some new methods don't have an @since, such as Validate.notBlank(), > Validate.exclusiveBetween()... > > StringUtils is now an odd mixture of methods that accept a > CharSequence and ones that don't. Looking at it, I'd prefer to see > CharSequenceUtils added to, and StringUtils methods just deal with > Strings (A CharSequence might be mutable, so it has a different set of > implications when writing code using it). But if that isn't OK, then > it would be better to see everything in StringUtils take a > CharSequence. > > ToStringStyle doesn't have a serialization version ID. > > While we've moved away from NullArgumentException, I suspect it may be > reasonably widely used. > > DateUtils has added a new MODIFY int enum, rather than using a real > enum. Nor has the existing RANGE int enum been converted > > The JavaVersion name field is not used. > > ObjectUtils.firstNonNull() differs from Google Guava in that it can > return null. This is probably OK, but should be checked. > > Range is only thread safe if the objects held inside are thread safe > (javadoc). > > Range.containsRange() might be better named containsAll() > Range.overlapsRange might be better named overlaps() > > Public constants on StringEscapeUtils do not have javadoc. > > The StringUtils.concat methods duplicate the existing join methods. > > There are a number of TODOs in the code that might need addressing. > > The migration guide exceptions section is missing a header. > > > Hope some of this helps (!) > Stephen > > > On 3 March 2011 07:39, Henri Yandell wrote: > > Looking to release 3.0; there's not been a lot of JIRA activity and > > it's 9 months or so since we released the beta. > > > > Downloads: > > > > http://people.apache.org/~bayard/commons-lang3-RC1/ > > > > Maven repo entry: > > > > http://people.apache.org/~bayard/commons-lang3-RC1/maven/ > > > > Website: > > > > http://people.apache.org/~bayard/commons-lang3-RC1/site/ > > > > Tag: > > > > https://svn.apache.org/repos/asf/commons/proper/lang/tags/LANG_3_0_RC1 > > > > [ ] +1 > > [ ] -1, because: > > > > > > Thanks, > > > > Hen > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > > For additional commands, e-mail: dev-help@commons.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > -- Thank you, Gary http://garygregory.wordpress.com/ http://garygregory.com/ http://people.apache.org/~ggregory/ http://twitter.com/GaryGregory --90e6ba61514aab1909049d95e408--