Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-227

Document nullability with @Nonnull on EnforcerRule API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.4.1
    • Rule API
    • None
    • Patch

    Description

      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

      Attachments

        Activity

          People

            khmarbaise Karl Heinz Marbaise
            mathus.b@mipih.fr Baptiste MATHUS
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: