You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Baptiste Mathus (JIRA)" <ji...@codehaus.org> on 2015/03/01 06:51:17 UTC
[jira] (MENFORCER-227) Document nullability with @Nonnull on
EnforcerRule API
Baptiste Mathus created MENFORCER-227:
-----------------------------------------
Summary: Document nullability with @Nonnull on EnforcerRule API
Key: MENFORCER-227
URL: https://jira.codehaus.org/browse/MENFORCER-227
Project: Maven Enforcer Plugin
Issue Type: Improvement
Components: Rule API
Reporter: Baptiste Mathus
Attachments: patch-nonnull-enforcer-api.patch
More and more often IDE are configured to use the "JSR305" annotations @Nonnull, @Nullable.
This would be great to add @Nonnull to the EnforcerRule methods so that implemented rules are not reported as "potential null pointer exception" when one does not check if the helper is null, and so on.
Thanks a lot for the feedback
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)