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

Removed unnecessary null check

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.10.1.1, 0.10.2.1, 0.11.0.2, 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: clients
    • Labels:
      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

              • Assignee:
                sagarchavan3172 sagar sukhadev chavan
                Reporter:
                sagarchavan3172 sagar sukhadev chavan
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: