Uploaded image for project: 'Commons Text'
  1. Commons Text
  2. TEXT-210

Spotbugs Failures

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Since updating to spotbugs 4.3.0, the build is failing with the following errors:

      [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] 
      
       

      Attachments

        Activity

          People

            Unassigned Unassigned
            mattjuntunen Matt Juntunen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m