Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-112

[lang] Wrong length check in StrTokenizer.StringMatcher

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.2
    • None
    • None
    • Operating System: other
      Platform: Other

    • 36059

    Description

      The length check in StringMatcher's isMatch() method causes the matcher to stop
      one character too early. So a match at the very end of the source data won't be
      detected.

      Attachments

        Activity

          People

            Unassigned Unassigned
            oheger Oliver Heger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: