In a somewhat similar way, you're replacing the creation of one object that 
isn't used with a creation of another object that isn't used. Although I'm not 
a fan of null checks, it would be more overall efficient if the initial object 
is nulled and then a check performed for the null prior to adding an exception. 
Lazy creation.

[ Full content available at: 
https://github.com/apache/sling-org-apache-sling-models-impl/pull/7 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to