Re: [jira] [Created] (HADOOP-10331) SwiftRestClient#buildException() references wrong length

2014-02-09 Thread Steve Loughran
heh, that's my code

On 9 February 2014 08:38, Ted Yu (JIRA)  wrote:

> https://issues.apache.org/jira/browse/HADOOP-10331

-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.


[jira] [Created] (HADOOP-10331) SwiftRestClient#buildException() references wrong length

2014-02-09 Thread Ted Yu (JIRA)
Ted Yu created HADOOP-10331:
---

 Summary: SwiftRestClient#buildException() references wrong length
 Key: HADOOP-10331
 URL: https://issues.apache.org/jira/browse/HADOOP-10331
 Project: Hadoop Common
  Issue Type: Bug
Reporter: Ted Yu
Priority: Minor


{code}
Header availableContentRange = method.getResponseHeader(
  HEADER_CONTENT_RANGE);
if (requestContentLen!=null) {
  errorText.append(" available 
").append(availableContentRange.getValue());
}
{code}
availableContentRange should be checked instead.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)