commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (TEXT-152) infinite loop in WordUtils.wrap
Date Mon, 04 Mar 2019 02:22:00 GMT


ASF GitHub Bot logged work on TEXT-152:

                Author: ASF GitHub Bot
            Created on: 04/Mar/19 02:21
            Start Date: 04/Mar/19 02:21
    Worklog Time Spent: 10m 
      Work Description: kinow commented on issue #107: TEXT-152 - new tests and fix for infinite
   @garydgregory I think the contributor goes under `due-to`. But sometimes new contributors
add it as `dev`. And that way, it's tricky to know which value to put in `dev`. So it might
be easier for a committer to add it when merging? At least that was my workflow so far
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:

Issue Time Tracking

    Worklog Id:     (was: 206979)
    Time Spent: 40m  (was: 0.5h)

> infinite loop in WordUtils.wrap
> -------------------------------
>                 Key: TEXT-152
>                 URL:
>             Project: Commons Text
>          Issue Type: Bug
>    Affects Versions: 1.7
>            Reporter: Carlos
>            Priority: Critical
>             Fix For: 1.7
>          Time Spent: 40m
>  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

View raw message