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

Matt Juntunen commented on TEXT-210:
------------------------------------

Fixed in commit 0ec85b01b043e0d838e706d14b0cd1d21dc48d54

> 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: 20m
>  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)

Reply via email to