boonproject / boon

Simple opinionated Java for the novice to expert level Java Programmer. Low Ceremony. High Productivity.
http://richardhightower.github.io/site/Boon/Welcome.html
Apache License 2.0
520 stars 102 forks source link

LazyMap clone can return null #328

Open ThrawnCA opened 9 years ago

ThrawnCA commented 9 years ago

LazyMap.clone() returns null if the wrapped map is null. This could be rather surprising to clients and result in NPE in many circumstances. Also, one of the stated goals of Boon is to avoid returning null.