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

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

                Author: ASF GitHub Bot
            Created on: 07/Mar/19 23:55
            Start Date: 07/Mar/19 23:55
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on issue #110: TEXT-156: Fix the 
RegexTokenizer to use a static Pattern.
URL: https://github.com/apache/commons-text/pull/110#issuecomment-470749010
 
 
   
   [![Coverage 
Status](https://coveralls.io/builds/22056840/badge)](https://coveralls.io/builds/22056840)
   
   Coverage remained the same at 97.885% when pulling 
**f40607a1689b96831212e73a3588187778e6dc2a on aherbert:improvement-TEXT-156** 
into **0ada5faf1f3a2c59fa832fc4223aad7f6c150917 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: 209867)
    Time Spent: 50m  (was: 40m)

> Fix the RegexTokenizer to use a static Pattern
> ----------------------------------------------
>
>                 Key: TEXT-156
>                 URL: https://issues.apache.org/jira/browse/TEXT-156
>             Project: Commons Text
>          Issue Type: Improvement
>    Affects Versions: 1.6
>            Reporter: Alex D Herbert
>            Priority: Trivial
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Use of a static pattern avoids the compile step for each invocation. The 
> matcher created from the pattern contains all state so the pattern can be 
> used across threads.
> Also:
>  * Remove the use of CharSequence.toString() to pass to the
> matcher(CharSequence) method. There is no need to create a String.
>  * Fix the javadoc header @code tag.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to