Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1521

Add @javax.annotation.Nonnull to CrudRepository and PagingAndSortingRepository methods

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      We have developers adding null checks to the List/Collection/Iterable/Optional returned values from CrudRepo/PagingRepo. I do have checkstyle turned on, so if the top level interfaces were to add this annotation, they'd get flagged during the build.

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            efenderbosch Eric M Fenderbosch
            Last updater:
            Oliver Drotbohm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: