You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Roland Kreuzer (Jira)" <ji...@apache.org> on 2021/10/30 13:54:00 UTC
[jira] [Commented] (LANG-1664) Javadoc for
StringUtils.substringBefore(String str, int separator) doesn't mention
that the separator is an int
[ https://issues.apache.org/jira/browse/LANG-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17436309#comment-17436309 ]
Roland Kreuzer commented on LANG-1664:
--------------------------------------
Since the old PR was closed due to inactivity I've adjusted to the suggested wording in a new one
https://github.com/apache/commons-lang/pull/823
> Javadoc for StringUtils.substringBefore(String str, int separator) doesn't mention that the separator is an int
> ----------------------------------------------------------------------------------------------------------------
>
> Key: LANG-1664
> URL: https://issues.apache.org/jira/browse/LANG-1664
> Project: Commons Lang
> Issue Type: Bug
> Components: lang.*
> Affects Versions: 3.12.0
> Reporter: Martin Schröder
> Priority: Major
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> The javadoc of {{StringUtils.substringBefore(String str, int separator)}} talks of the separator as a String, not as an int (and so doesn't explain what the separator param is).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)