commons-issues mailing list archives

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

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

ASF GitHub Bot logged work on TEXT-152:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Mar/19 18:23
            Start Date: 04/Mar/19 18:23
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on issue #107: TEXT-152 - new tests and fix for
infinite loop
URL: https://github.com/apache/commons-text/pull/107#issuecomment-469067658
 
 
   
   [![Coverage Status](https://coveralls.io/builds/21972945/badge)](https://coveralls.io/builds/21972945)
   
   Coverage decreased (-0.02%) to 97.885% when pulling **ad07efa10b4091ef3b9d1a9ee9ec0190726e8c55
on CAPS50:TEXT-152** into **d880f686338f63b8e0860ad37da190fda792eecf 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:
users@infra.apache.org


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

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

> 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: 1h 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
(v7.6.3#76005)

Mime
View raw message