Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 57083 invoked from network); 19 Nov 2009 07:40:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 07:40:15 -0000 Received: (qmail 29369 invoked by uid 500); 19 Nov 2009 07:40:14 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 29243 invoked by uid 500); 19 Nov 2009 07:40:13 -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 29233 invoked by uid 99); 19 Nov 2009 07:40:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 07:40:13 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of flamefew@gmail.com designates 209.85.221.184 as permitted sender) Received: from [209.85.221.184] (HELO mail-qy0-f184.google.com) (209.85.221.184) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 07:40:11 +0000 Received: by qyk14 with SMTP id 14so1091963qyk.11 for ; Wed, 18 Nov 2009 23:39:50 -0800 (PST) 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; bh=j2BXoWB54gEF7JzcSJluQVzmIQqWT7H5NMy7g4IK2Wg=; b=Bh8PUvnbHdk5QxobnofmF64PZPstCKOzlYvcWoLMzs1IsZ7rfHgyxkq8D9T/cyCpWi rV2dt6g3ygYWmi1nj70bsKfJhVoZpHvW7pN0azogxePwt+JZ2+mcDH7IL2F7NpFvSKGI B29vsiTMo8apSUFlTmB8Pr2ZpvZwwWbG6Da9w= 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; b=pcqbalskXvgfCticxTEhfxn6AkEmoZ8Cf2wqQCqec06noCQ9hCptvuaC3WAWyWAbR/ Zi4mhxfCxtVcjVwkEWiXKwrY9cRwqZCyiTp9PVl4KasR3VDrWQDBL+Prb7ZWh/mgkjte oiu1nSjIfXvqxWXtcBikeG/JRyqDHO/ZAE0QQ= MIME-Version: 1.0 Received: by 10.229.100.221 with SMTP id z29mr1583220qcn.18.1258616390734; Wed, 18 Nov 2009 23:39:50 -0800 (PST) In-Reply-To: References: <31cc37360911172235v6269358fgd22784899997d427@mail.gmail.com> Date: Wed, 18 Nov 2009 23:39:50 -0800 Message-ID: <31cc37360911182339j22fb0876u758e63e690d8245f@mail.gmail.com> Subject: Re: Commons Lang 3: Validate From: Henri Yandell To: Commons Developers List Content-Type: text/plain; charset=ISO-8859-1 On Wed, Nov 18, 2009 at 7:40 PM, Paul Benedict wrote: > On Wed, Nov 18, 2009 at 12:35 AM, Henri Yandell wrote: >> On Tue, Nov 17, 2009 at 10:04 PM, Paul Benedict wrote: >>> I would like to make the following changes. Looking for some feedback: >>> >>> * Append var-args to the method signatures to accept message format >>> parameters where a message is provided. >> >> This issue https://issues.apache.org/jira/browse/LANG-508 ? > > Yes. Wonderful. +1 to the change. Feel free to dive in. :) >>> * A flag to throw NPE rather IAE on notNull and potentially notEmpty checks >> >> On the simple path first - can/should we move to NPE? >> > > Sure, I can do simple. My vote is +1 for NPE. Your argument being that the JDK and others do NPE when null? i.e. NPE = IAE(null)? Hen --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org