[
https://issues.apache.org/jira/browse/ISIS-2007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Haywood closed ISIS-2007.
-----------------------------
Resolution: Fixed
> 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
> Assignee: Dan Haywood
> Priority: Major
> 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)