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

Removed unnecessary null check

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.10.1.1, 0.10.2.1, 0.11.0.2, 1.0.0
    • 1.1.0
    • clients
    • None

    Description

      Removed unnecessary null check

      if (encodingValue != null && encodingValue instanceof String)

      null instanceof String returns false hence replaced the check with
      if (encodingValue instanceof String)

      Attachments

        Issue Links

          Activity

            People

              sagarchavan3172 sagar sukhadev chavan
              sagarchavan3172 sagar sukhadev chavan
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: