Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 94715 invoked from network); 24 Sep 2010 15:35:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Sep 2010 15:35:57 -0000 Received: (qmail 43574 invoked by uid 500); 24 Sep 2010 15:35:57 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 43480 invoked by uid 500); 24 Sep 2010 15:35:56 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 43469 invoked by uid 99); 24 Sep 2010 15:35:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 15:35:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Sep 2010 15:35:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8OFZZla026242 for ; Fri, 24 Sep 2010 15:35:35 GMT Message-ID: <9226453.386141285342535518.JavaMail.jira@thor> Date: Fri, 24 Sep 2010 11:35:35 -0400 (EDT) From: "Chris Kujawa (JIRA)" To: issues@commons.apache.org Subject: [jira] Updated: (LANG-652) Added a new equals method tho string utils with signature equals(String, String, boolean) In-Reply-To: <1430837.386051285342412869.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/LANG-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Kujawa updated LANG-652: ------------------------------ Attachment: (was: kujawa_equalsWithBooleanPatch) > Added a new equals method tho string utils with signature equals(String, String, boolean) > ----------------------------------------------------------------------------------------- > > Key: LANG-652 > URL: https://issues.apache.org/jira/browse/LANG-652 > Project: Commons Lang > Issue Type: New Feature > Components: lang.* > Reporter: Chris Kujawa > Fix For: 3.1 > > Original Estimate: 1h > Remaining Estimate: 1h > > I added a new equals method the StringUtils that allows users to call one common method to determine whether two Strings are equal. > In other words, instead of calling > StringUtils.equals( x, y) for case sensitive comparisons > and > StringUtils.equalsIgnoreCase( x, y ) for case-insensitive comparisons > my addition allows a user to simple call > StringUtils.equals( x, y, true) for case-sensitive comparisons > or > StringUtils.equals(x,y, false) for case-insensitive comparisons > I believe this will be cleaner, and much easier to read than having two different method calls. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.