Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-3219 Review Coverity
  3. ACCUMULO-3226

Unnecessary null check in Authorizations constructor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.5.2, 1.6.1
    • 1.5.3, 1.6.2, 1.7.0
    • client

    Description

      In the constructor that accepts a byte array, we check that the byte array argument is non-null twice. The 2nd check is unnecessary.

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m