[
https://issues.apache.org/jira/browse/LANG-1426?focusedWorklogId=315827&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-315827
]
ASF GitHub Bot logged work on LANG-1426:
----------------------------------------
Author: ASF GitHub Bot
Created on: 20/Sep/19 17:41
Start Date: 20/Sep/19 17:41
Worklog Time Spent: 10m
Work Description: coveralls commented on issue #458: [LANG-1426]
Corrected usage examples in Javadocs
URL: https://github.com/apache/commons-lang/pull/458#issuecomment-531573214
[](https://coveralls.io/builds/25837031)
Coverage increased (+0.007%) to 95.21% when pulling
**358c0d6f6fd3b0ff979f650ee8bc2ae45e7ea336 on
mikkomaunu:LANG-1426-StringUtils-truncate-Javadoc** into
**29723e851ca56aa621165130049e588980c5a5e7 on apache:master**.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 315827)
Time Spent: 1h 20m (was: 1h 10m)
> JavaDoc issue on StringUtils.truncate
> -------------------------------------
>
> Key: LANG-1426
> URL: https://issues.apache.org/jira/browse/LANG-1426
> Project: Commons Lang
> Issue Type: Bug
> Reporter: Jeff
> Priority: Trivial
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> Two of the examples on the method StringUtils.truncate(String, int, int) are
> incorrect:
> * StringUtils.truncate("abcdefghijklmno", Integer.MIN_VALUE, 10) =
> "abcdefghij"
> * StringUtils.truncate("abcdefghijklmno", Integer.MIN_VALUE,
> Integer.MAX_VALUE) = "abcdefghijklmno"
> Both of the above actually throw IllegalArgumentException's.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)