You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/07/07 02:38:00 UTC

[jira] [Work logged] (TEXT-210) Spotbugs Failures

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

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

                Author: ASF GitHub Bot
            Created on: 07/Jul/21 02:37
            Start Date: 07/Jul/21 02:37
    Worklog Time Spent: 10m 
      Work Description: darkma773r opened a new pull request #249:
URL: https://github.com/apache/commons-text/pull/249


   - making copies of mutable inputs on construction
   - ignoring false positive


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@commons.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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

            Worklog Id:     (was: 619711)
    Remaining Estimate: 0h
            Time Spent: 10m

> Spotbugs Failures
> -----------------
>
>                 Key: TEXT-210
>                 URL: https://issues.apache.org/jira/browse/TEXT-210
>             Project: Commons Text
>          Issue Type: Bug
>            Reporter: Matt Juntunen
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Since updating to spotbugs 4.3.0, the build is failing with the following errors:
> {code:java}
> [ERROR] Medium: new org.apache.commons.text.io.StringSubstitutorReader(Reader, StringSubstitutor) may expose internal representation by storing an externally mutable object into StringSubstitutorReader.stringSubstitutor [org.apache.commons.text.io.StringSubstitutorReader] At StringSubstitutorReader.java:[line 76] EI_EXPOSE_REP2
> [ERROR] Medium: org.apache.commons.text.similarity.FuzzyScore.getLocale() may expose internal representation by returning FuzzyScore.locale [org.apache.commons.text.similarity.FuzzyScore] At FuzzyScore.java:[line 142] EI_EXPOSE_REP
> [ERROR] Medium: new org.apache.commons.text.similarity.FuzzyScore(Locale) may expose internal representation by storing an externally mutable object into FuzzyScore.locale [org.apache.commons.text.similarity.FuzzyScore] At FuzzyScore.java:[line 56] EI_EXPOSE_REP2
> [INFO] 
>  {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)