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();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String readOptionalUTF() throws IOException {
|
||||
return in.readOptionalUTF();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String readUTF() throws IOException {
|
||||
return in.readUTF();
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue