mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
adapter should not delegate optionalUTF
This commit is contained in:
parent
dfdd4e7394
commit
cc20852642
@ -84,11 +84,6 @@ public abstract class AdapterStreamInput extends StreamInput {
|
|||||||
return in.readVLong();
|
return in.readVLong();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public String readOptionalUTF() throws IOException {
|
|
||||||
return in.readOptionalUTF();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String readUTF() throws IOException {
|
public String readUTF() throws IOException {
|
||||||
return in.readUTF();
|
return in.readUTF();
|
||||||
|
@ -107,11 +107,6 @@ public class AdapterStreamOutput extends StreamOutput {
|
|||||||
out.writeVLong(i);
|
out.writeVLong(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public void writeOptionalUTF(@Nullable String str) throws IOException {
|
|
||||||
super.writeOptionalUTF(str);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeUTF(String str) throws IOException {
|
public void writeUTF(String str) throws IOException {
|
||||||
out.writeUTF(str);
|
out.writeUTF(str);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user