Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 76635 invoked from network); 14 Oct 2004 13:04:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Oct 2004 13:04:27 -0000 Received: (qmail 51827 invoked by uid 500); 14 Oct 2004 13:04:21 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 51768 invoked by uid 500); 14 Oct 2004 13:04:21 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 51755 invoked by uid 99); 14 Oct 2004 13:04:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of flamefew@gmail.com designates 64.233.170.207 as permitted sender) Received: from [64.233.170.207] (HELO mproxy.gmail.com) (64.233.170.207) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 14 Oct 2004 06:04:19 -0700 Received: by mproxy.gmail.com with SMTP id 79so801404rnl for ; Thu, 14 Oct 2004 06:04:17 -0700 (PDT) Received: by 10.38.65.39 with SMTP id n39mr3435606rna; Thu, 14 Oct 2004 06:04:17 -0700 (PDT) Received: by 10.38.164.53 with HTTP; Thu, 14 Oct 2004 06:04:17 -0700 (PDT) Message-ID: <31cc37360410140604298c3109@mail.gmail.com> Date: Thu, 14 Oct 2004 09:04:17 -0400 From: Henri Yandell Reply-To: Henri Yandell To: Jakarta Commons Developers List Subject: [lang] Re: Review for 2.1 In-Reply-To: <00af01c4accb$137cc8a0$19939b51@oemcomputer> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <00af01c4accb$137cc8a0$19939b51@oemcomputer> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sorry for quietness. Life's getting pretty busy and will only get busier in a week when the baby happens. On Fri, 8 Oct 2004 01:09:26 +0100, Stephen Colebourne wrote: > Based on JDiff - > http://www.apache.org/~bayard/commons-lang-2.1/Commons-Lang-2.0-to-2.1/chang > es.html > I'm not sure I like the following changes in 2.1: > > - ArrayUtils.lastIndex() > Gets the last valid index of an array. Surely users would just call > getLength() - 1? +/-0. We have many other places where a semantic method exists for something simple; so I'm not bothered either way. > - ClassUtils.CLASS_NAME_COMPARATOR > - ClassUtils.PACKAGE_NAME_COMPARATOR > Although potentially useful, they seem quite specific. What about comparing > packages using Class objects? (I've never used a Package object in my work) > Or comparing just the short name of a class? Not sure when I'd want to compare class names without wanting java.* and javax.* to be special. Anyone got a user-case for these? > - NotImplementedException > This now implements Nestable, with a lot of extra methods. None of the other > exception classes in the main package have been changed. We should revert > this change, or find a lighter weight solution that works with > ExceptionUtils. +1 to the view that all of our Exceptions should be the same. Why did it have to implement Nestable and not just extend NestableXxx? > - Validate.allElementsOfClass > Should rename to allElementsOfType, and use instanceof style check, not > class equals style check +1 > Still TODO: > - WordUtils > Capitalize with separator methods need to define null handling for delimiter > list, and better javadoc for two of the three methods > > - DurationFormatUtils > Still needs more work What in particular? Possibly I just need to update the xdocs/tasks.xml :) > - StopWatch > Is this complete? I think so. I'm out of new ideas on it. > - text subpackage > > Things I'm happy with: > - CharEncoding > - CharUtils > - other ArrayUtsls additions (although the class is large now) > - ObjectUtils changes > - StringUtils changes > - SystemUtils changes > - Builder package changes > - Enum rename to Enums > - Mutable subpackage > - NumberUtils changes > - DateUtils changes > > My thought is maybe we can do a release soon without the text subpackage? +1 > And possibly with DurationFormatUtils still package scoped. We now have a > customer (cocoon) wanting a release, so we should try and oblige. Would definitely like to see it go as I think it's good now. Hen --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org