Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 19100 invoked from network); 10 Jun 2010 21:18:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Jun 2010 21:18:27 -0000 Received: (qmail 46406 invoked by uid 500); 10 Jun 2010 21:18:26 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 46175 invoked by uid 500); 10 Jun 2010 21:18:26 -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 46167 invoked by uid 99); 10 Jun 2010 21:18:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 21:18:26 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gudnabrsam@gmail.com designates 209.85.160.171 as permitted sender) Received: from [209.85.160.171] (HELO mail-gy0-f171.google.com) (209.85.160.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jun 2010 21:18:18 +0000 Received: by gyf3 with SMTP id 3so153792gyf.30 for ; Thu, 10 Jun 2010 14:17:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version :content-transfer-encoding:message-id:content-type:to:from:subject :date:x-mailer; bh=6x+d4P7FBS/Rp4BBvb/MzWR1QLQ4BereQ/JzevcN/vM=; b=KhPNiLSiRguGdn+Swlpa0RQfO7Ge4wNdLB11zEgmDMX8335gDW535mNyYuLOJLNcbV 1wCiMV/D5XXMpnrA9eL9Tx1AvkzB/8D1jsOXSXLfF7SvFtFN9e1KXhx6NASqtRifVSFO 8UHHBUTcR2j2Tto8vvQL5UUWvNn5rljcyKA00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-transfer-encoding:message-id:content-type:to :from:subject:date:x-mailer; b=nOkl46pn6J80V2R35cmiGbCADBRU/0hQuifgN16lPFJjDSypOmy4A53Qbn3lE0ukN6 rW5dhYjhaXk4KEDfpZLMTDpIlqqSzA2C+3zApxhPvNqPtgWCW8CrDxpFylOPX+FRzUrQ vTepiFdm4/pPrfHvJdQYMe0cPcGq4IOUmcvNw= Received: by 10.150.62.6 with SMTP id k6mr2027065yba.400.1276204677756; Thu, 10 Jun 2010 14:17:57 -0700 (PDT) Received: from [192.168.1.6] (adsl-068-213-090-227.sip.bhm.bellsouth.net [68.213.90.227]) by mx.google.com with ESMTPS id w12sm4319110ybk.16.2010.06.10.14.17.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 10 Jun 2010 14:17:57 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v753.1) Content-Transfer-Encoding: 7bit Message-Id: <580E2AE7-B6C9-429B-AF01-10BFB91929A2@gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: commons development From: Matt Benson Subject: [lang3] StringUtils.equals* Date: Thu, 10 Jun 2010 16:17:56 -0500 X-Mailer: Apple Mail (2.753.1) Should(n't) these methods call toString() before comparing CharSequence arguments of different RT types since CharSequence makes no claims regarding equals methods? ObjectUtils.equals() can call .equals(), but IMHO the principle of least surprise would dictate that StringUtils ensure that the same sequences of characters would be considered equal. -Matt --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org