Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 04E20200BB1 for ; Thu, 3 Nov 2016 23:19:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 0398D160AFF; Thu, 3 Nov 2016 22:19:55 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 42A5C160AE5 for ; Thu, 3 Nov 2016 23:19:54 +0100 (CET) Received: (qmail 536 invoked by uid 500); 3 Nov 2016 22:19:53 -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 519 invoked by uid 99); 3 Nov 2016 22:19:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2016 22:19:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 17A2AE09DE; Thu, 3 Nov 2016 22:19:53 +0000 (UTC) From: PascalSchumacher To: issues@commons.apache.org Reply-To: issues@commons.apache.org References: In-Reply-To: Subject: [GitHub] commons-lang issue #205: LANG-1281: Javadoc of StringUtils.ordinalIndexOf is... Content-Type: text/plain Message-Id: <20161103221953.17A2AE09DE@git1-us-west.apache.org> Date: Thu, 3 Nov 2016 22:19:53 +0000 (UTC) archived-at: Thu, 03 Nov 2016 22:19:55 -0000 Github user PascalSchumacher commented on the issue: https://github.com/apache/commons-lang/pull/205 `...incrementing the starting index by one after each successful match, so matches may overlap.` For empty String there is no match, so no incrementing is done. Please do not hesitate to suggest better solution for this issue. Thanks! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---