diff --git a/src/main/java/org/elasticsearch/common/io/stream/AdapterStreamInput.java b/src/main/java/org/elasticsearch/common/io/stream/AdapterStreamInput.java index 66c6fb467d6..bb1ee572803 100644 --- a/src/main/java/org/elasticsearch/common/io/stream/AdapterStreamInput.java +++ b/src/main/java/org/elasticsearch/common/io/stream/AdapterStreamInput.java @@ -84,11 +84,6 @@ public abstract class AdapterStreamInput extends StreamInput { return in.readVLong(); } - @Override - public String readOptionalUTF() throws IOException { - return in.readOptionalUTF(); - } - @Override public String readUTF() throws IOException { return in.readUTF(); diff --git a/src/main/java/org/elasticsearch/common/io/stream/AdapterStreamOutput.java b/src/main/java/org/elasticsearch/common/io/stream/AdapterStreamOutput.java index 72527aee28d..b5d4940d5b1 100644 --- a/src/main/java/org/elasticsearch/common/io/stream/AdapterStreamOutput.java +++ b/src/main/java/org/elasticsearch/common/io/stream/AdapterStreamOutput.java @@ -107,11 +107,6 @@ public class AdapterStreamOutput extends StreamOutput { out.writeVLong(i); } - @Override - public void writeOptionalUTF(@Nullable String str) throws IOException { - super.writeOptionalUTF(str); - } - @Override public void writeUTF(String str) throws IOException { out.writeUTF(str);