throw new BatchDeserializerException("Forbidden header", MessageKeys.FORBIDDEN_HEADER,
Integer.toString(header.getLineNumber()));
}
}
private InputStream getBodyStream(final BatchQueryOperation operation, final HttpRequestStatusLine statusLine,
<BUG>final Charset charset)
throws BatchDeserializerException {
</BUG>
if (statusLine.getMethod().equals(HttpMethod.GET)) {
return new ByteArrayInputStream(new byte[0]);

throw new BatchDeserializerException("Forbidden header", MessageKeys.FORBIDDEN_HEADER,
Integer.toString(header.getLineNumber()));
}
}
private InputStream getBodyStream(final BatchQueryOperation operation, final HttpRequestStatusLine statusLine,
final Charset charset) throws BatchDeserializerException {
if (statusLine.getMethod().equals(HttpMethod.GET)) {
return new ByteArrayInputStream(new byte[0]);
