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

Improving Kafka code

Agile BoardAttach filesAttach ScreenshotVotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.10.0.0
    • Fix Version/s: 0.10.1.0
    • Component/s: core
    • Labels:
      None

      Description

      Improve Kafka core code :

      Remove redundant val modifier for case class constructor
      Use flatMap instead of map and flatten
      Use isEmpty, NonEmpty, isDefined as appropriate
      Use head, keys and keySet where appropriate
      Use contains, diff and find where appropriate
      toString has no parameters, no side effect hence without () use consistently
      Remove unnecessary return and semi colons, parentheses

        Attachments

          Activity

            People

            • Assignee:
              rekhajoshm Rekha Joshi
              Reporter:
              rekhajoshm Rekha Joshi

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment