queryParserName = in.readUTF();
}
}
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
<BUG>if (querySource != null) {
out.writeVInt(querySource.length);

out.writeBytes(querySource);
} else {
FastByteArrayOutputStream os = queryBuilder.buildAsUnsafeBytes(contentType);
out.writeVInt(os.size());
out.writeBytes(os.unsafeByteArray(), 0, os.size());
}</BUG>
if (queryParserName == null) {

queryParserName = in.readUTF();
}
}
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
out.writeVInt(querySourceLength);
out.writeBytes(querySource, querySourceOffset, querySourceLength);
if (queryParserName == null) {
