You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2020/12/23 10:04:00 UTC

[jira] [Created] (MRESOLVER-152) Impose null checks when interface contracts requires it

Michael Osipov created MRESOLVER-152:
----------------------------------------

             Summary: Impose null checks when interface contracts requires it
                 Key: MRESOLVER-152
                 URL: https://issues.apache.org/jira/browse/MRESOLVER-152
             Project: Maven Resolver
          Issue Type: Task
          Components: Resolver
    Affects Versions: 1.6.1
            Reporter: Michael Osipov
         Attachments: screenshot-1.png

Many interface require args to be non-null, in most cases it is not enforced. We shall enforce it with {{Objects.requireNonNul(Object, "<arg name> cannot be null")}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)