You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthew de Detrich (Jira)" <ji...@apache.org> on 2021/06/08 10:17:00 UTC

[jira] [Created] (KAFKA-12913) Make Scala Case class's final

Matthew de Detrich created KAFKA-12913:
------------------------------------------

             Summary: Make Scala Case class's final
                 Key: KAFKA-12913
                 URL: https://issues.apache.org/jira/browse/KAFKA-12913
             Project: Kafka
          Issue Type: Improvement
          Components: core
            Reporter: Matthew de Detrich
            Assignee: Matthew de Detrich


Its considered best practice to make case classes final since Scala code that uses case class relies on equals/hashcode/unapply to function correctly (which breaks if user's can override this behaviour)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)