remondis-it / remap

A declarative mapping library to simplify testable object mappings.
Apache License 2.0
122 stars 22 forks source link

Map-Optional is missing for collections #126

Closed schuettec closed 4 years ago

schuettec commented 4 years ago

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