Closed schuettec closed 4 years ago
Collection references should not be handled with null. Instead empty collection instances should be used to keep the code null-safe.
null
https://rules.sonarsource.com/java/RSPEC-1168 https://dzone.com/articles/10-tips-to-handle-null-effectively http://www.javapractices.com/topic/TopicAction.do?Id=59
Collection references should not be handled with
null
. Instead empty collection instances should be used to keep the code null-safe.https://rules.sonarsource.com/java/RSPEC-1168 https://dzone.com/articles/10-tips-to-handle-null-effectively http://www.javapractices.com/topic/TopicAction.do?Id=59