You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "David Mollitor (Jira)" <ji...@apache.org> on 2020/01/07 21:05:00 UTC
[jira] [Created] (KAFKA-9380) Do Not Accept Null Values in
MemberAssignment Constructor
David Mollitor created KAFKA-9380:
-------------------------------------
Summary: Do Not Accept Null Values in MemberAssignment Constructor
Key: KAFKA-9380
URL: https://issues.apache.org/jira/browse/KAFKA-9380
Project: Kafka
Issue Type: Improvement
Reporter: David Mollitor
'nulls suck'
[https://github.com/google/guava/wiki/UsingAndAvoidingNullExplained]
Just exit quickly if a null is passed into MemberAssignment Constructor. No need to check for null values. I've looked at all references and they correctly pass in an empty Collection instead of null.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)