hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10296) null check for requestContentLen is wrong in SwiftRestClient#buildException()
Date Thu, 01 Oct 2015 16:22:26 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-10296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940033#comment-14940033
] 

Akira AJISAKA commented on HADOOP-10296:
----------------------------------------

+1. Thanks [~kanaka] for cleaning up the code.

> null check for requestContentLen is wrong in SwiftRestClient#buildException()
> -----------------------------------------------------------------------------
>
>                 Key: HADOOP-10296
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10296
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.3.0
>            Reporter: Ted Yu
>            Assignee: Kanaka Kumar Avvaru
>            Priority: Minor
>              Labels: BB2015-05-TBR, newbie, patch
>         Attachments: HADOOP-10296.1.patch, HADOOP-10296.2.patch
>
>
> {code}
>         if (requestContentLen!=null) {
>           errorText.append(" available ").append(availableContentRange.getValue());
>         }
> {code}
> The null check should be for availableContentRange



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message