Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-690 Tez API Ease of Use
  3. TEZ-884

Add parameter checking for context related user API's

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None

    Description

      I'm taking TEZ-865, and struggling with NPE. It's very effective to avoid NPE by adding @Nullable annotation and assert arguments by Preconditions.checkNotNull at API level.

      Attachments

        1. TEZ-884.2.patch
          21 kB
          Tsuyoshi Ozawa
        2. TEZ-884.1.patch
          20 kB
          Tsuyoshi Ozawa

        Issue Links

          Activity

            People

              ozawa Tsuyoshi Ozawa
              ozawa Tsuyoshi Ozawa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: