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
Issue Links
- links to