[
https://issues.apache.org/jira/browse/HADOOP-10296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611535#comment-14611535
]
kanaka kumar avvaru commented on HADOOP-10296:
----------------------------------------------
Just updated patch with latest code base from trunk. Also cleared some unused
code warnings from SwiftRestClient class.
New test case is not be required for the trivial change.
> 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)