Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 2462 invoked from network); 24 Mar 2008 19:27:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2008 19:27:34 -0000 Received: (qmail 94969 invoked by uid 500); 24 Mar 2008 19:27:31 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 94866 invoked by uid 500); 24 Mar 2008 19:27:31 -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 94857 invoked by uid 99); 24 Mar 2008 19:27:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 12:27:31 -0700 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Mar 2008 19:27:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 601DA234C0AB for ; Mon, 24 Mar 2008 12:25:29 -0700 (PDT) Message-ID: <1407793269.1206386729392.JavaMail.jira@brutus> Date: Mon, 24 Mar 2008 12:25:29 -0700 (PDT) From: "Geoffrey Longo (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (LANG-418) Javadoc incorrect for StringUtils.endsWithIgnoreCase MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Javadoc incorrect for StringUtils.endsWithIgnoreCase ---------------------------------------------------- Key: LANG-418 URL: https://issues.apache.org/jira/browse/LANG-418 Project: Commons Lang Issue Type: Bug Affects Versions: 2.4 Reporter: Geoffrey Longo Priority: Minor The javadoc for StringUtils.endsWithIgnoreCase() shows an example that appears incorrect. It currently looks like the following: StringUtils.endsWithIgnoreCase("def", "ABCDEF") = false I believe that should return true. It also appears that the examples in the javadoc have the parameters backwards, as the signature shows the second parameter as the "suffix", yet the suffix in the examples is the first parameter. The following sample I think would be more correct: StringUtils.endsWithIgnoreCase("ABCDEF", "def") = true -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.