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

[jira] [Created] (TEXT-210) Spotbugs Failures

Matt Juntunen created TEXT-210:
----------------------------------

             Summary: Spotbugs Failures
                 Key: TEXT-210
                 URL: https://issues.apache.org/jira/browse/TEXT-210
             Project: Commons Text
          Issue Type: Bug
            Reporter: Matt Juntunen


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)