Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10296

Incorrect null check in SwiftRestClient#buildException()

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

              if (requestContentLen!=null) {
                errorText.append(" available ").append(availableContentRange.getValue());
              }
      

      The null check should be for availableContentRange

        Attachments

        1. HADOOP-10296.2.patch
          3 kB
          Kanaka Kumar Avvaru
        2. HADOOP-10296.1.patch
          0.9 kB
          Rahul Palamuttam

          Issue Links

            Activity

              People

              • Assignee:
                kanaka Kanaka Kumar Avvaru
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: