From commons-dev-return-40960-apmail-jakarta-commons-dev-archive=jakarta.apache.org@jakarta.apache.org Sun Nov 23 18:56:15 2003 Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 6463 invoked from network); 23 Nov 2003 18:56:14 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 23 Nov 2003 18:56:14 -0000 Received: (qmail 75345 invoked by uid 500); 23 Nov 2003 18:56:04 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 75022 invoked by uid 500); 23 Nov 2003 18:56:02 -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 75007 invoked from network); 23 Nov 2003 18:56:02 -0000 Received: from unknown (HELO hotmail.com) (64.4.47.13) by daedalus.apache.org with SMTP; 23 Nov 2003 18:56:02 -0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 23 Nov 2003 10:56:06 -0800 Received: from 212.217.21.95 by by9fd.bay9.hotmail.msn.com with HTTP; Sun, 23 Nov 2003 18:56:06 GMT X-Originating-IP: [212.217.21.95] X-Originating-Email: [equinus100@hotmail.com] From: "Ash .." To: commons-dev@jakarta.apache.org Bcc: Subject: re: new functionality in some of the commons classes - contd Date: Sun, 23 Nov 2003 18:56:06 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 23 Nov 2003 18:56:06.0756 (UTC) FILETIME=[73634240:01C3B1F3] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I got no reply for my second email. (Or did I miss any.) Much of the ideas I have here are about minor functionality in some of the basic classes (such as lang.StringUtils etc). I would be glad to know how to go about it. I mentioned one as an example, perhaps it would be preferred if I mention all of them at one go? Since I am new to this group, I am not very familiar with your preferred way. Curious to know. Cheers, Ash Hello again, Adding to my earlier email I just sent out, I wish to give an example here, of some of the ideas I have. The concept of a "naught" String. A String is naught if it is either 'null' or is the literal "null". I have often encountered this situation in my JSP project where a particular parameter is passed in as x=null, and I need to insert code everytime saying if(x == null || x.equals("null")) Perhaps others have encountered a similar situation. I thus propose the following functionality in the org.apache.commons.lang.StringUtils class: StringUtils.isNaught(String str) And more such to go. Waiting for some feedback. Thanks, Ash -----Original Message----- From: ASHWIN Suresh Sent: Saturday, November 22, 2003 20:47 To: 'Jakarta Commons Developers List' Subject: new functionality in some of the commons classes Hello all, I am new to the list, and am here after my recent (and really exciting) discovery of the existence of this whole treasure of day-to-day usage code in the name of the Commons project. I would like to propose/contribute some new functionality to some of the classes (mostly simple stuff). Do let me know the procedure for this. If there is a standard document which explains this, which I missed, please give me a pointer to it. Thanks, _________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messenger --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org