Dan Haywood created ISIS-2007:
---------------------------------

             Summary: Use Objects.requireNonNull(Obj, Supplier<String>) to 
avoid masking errors
                 Key: ISIS-2007
                 URL: https://issues.apache.org/jira/browse/ISIS-2007
             Project: Isis
          Issue Type: Improvement
    Affects Versions: 2.0.0-M1
            Reporter: Dan Haywood
             Fix For: 2.0.0-M2


If use Objects.requireNonNull(Object, String), then this will evaluate String 
eagerly.  That might itself cause an exception, hiding if the object is null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to