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

[lang] Wrong length check in StrTokenizer.StringMatcher

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

            • Assignee:
              Unassigned
              Reporter:
              oliver.heger@t-online.de Oliver Heger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: