Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10098

Remove unnecessary escaping in regular expression in SaslAuthenticatorTest.java

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • None
    • 2.7.0
    • None

    Description

      n.b. This is a newbie ticket designed to be an introduction to contributing for the assignee.

      In line:

      e.getMessage().matches(
                                  ".*\\<\\[" + expectedResponseTextRegex + "]>.*\\<\\[" + receivedResponseTextRegex + ".*?]>"));
      

      '<' or '>' does not need to be escaped.

      Attachments

        Issue Links

          Activity

            People

              cancecen Can Cecen
              cancecen Can Cecen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: