[
https://issues.apache.org/jira/browse/TEXT-152?focusedWorklogId=207326&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-207326
]
ASF GitHub Bot logged work on TEXT-152:
---------------------------------------
Author: ASF GitHub Bot
Created on: 04/Mar/19 17:55
Start Date: 04/Mar/19 17:55
Worklog Time Spent: 10m
Work Description: garydgregory commented on issue #107: TEXT-152 - new
tests and fix for infinite loop
URL: https://github.com/apache/commons-text/pull/107#issuecomment-469350873
> @kinow shall I change the changes.xml ? and if so should be the value of
`dev` and `due-to`?
IMO, you can leave `dev` empty and put your name in `due-to` (or you GitHub
ID, Jira ID, whatever you prefer).
----------------------------------------------------------------
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: 207326)
Time Spent: 1.5h (was: 1h 20m)
> infinite loop in WordUtils.wrap
> -------------------------------
>
> Key: TEXT-152
> URL: https://issues.apache.org/jira/browse/TEXT-152
> Project: Commons Text
> Issue Type: Bug
> Affects Versions: 1.7
> Reporter: Carlos
> Priority: Critical
> Fix For: 1.7
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> this infinite loop can be reproduced with this unit test:
>
> {code:java}
> @Test
> public void testWrapAtStartAndEnd() {
> assertThat(WordUtils.wrap("nabcdefabcdefn", 2, "\n", false,
> "(?=n)")).isEqualTo("\nabcdefabcdef\n");
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)