Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-6692

Undeclared dependencies for Nullable and NotNull annotations

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.14.0
    • Future
    • None

    Description

      Threre are actively used @Nullable and @NotNull annotations in the project. They come to Drill from transitive dependencies javax.validation (validation-api-1.1.0.Final.jar) and javax.annotation (jsr305-3.0.1.jar), but Drill has not direct dependencies to them.

      It is possible to add dependencies to this libraries, but possibly the better choice is to get rid from them and replace @NotNull annotation with Objects.requireNonNull() check in beginning of the method (the issue will be with methods in interfaces). Possibly the right decision to solve it could be raised in Drill dev mailing list.

      Attachments

        Activity

          People

            Unassigned Unassigned
            vitalii Vitalii Diravka
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: