[ 
https://issues.apache.org/jira/browse/LANG-1664?focusedWorklogId=672359&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-672359
 ]

ASF GitHub Bot logged work on LANG-1664:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 30/Oct/21 13:48
            Start Date: 30/Oct/21 13:48
    Worklog Time Spent: 10m 
      Work Description: rolandkreuzer opened a new pull request #823:
URL: https://github.com/apache/commons-lang/pull/823


   The for the methods
   - StringUtils#substringAfterLast(String, int)
   - StringUtils#substringBefore(String, int)
   
   the second argument is currently described as String in the doc.
   
   The actual argument is a primitive int meant to be used as a character / 
unicode code point.
   The PR changes the doc to reflect that.
   Since the argument is a primitive, the note on null input was dropped.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@commons.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 672359)
    Time Spent: 1h 40m  (was: 1.5h)

> 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)

Reply via email to