adapter should not delegate optionalUTF

This commit is contained in:
Shay Banon 2012-02-18 00:31:07 +02:00
parent dfdd4e7394
commit cc20852642
2 changed files with 0 additions and 10 deletions

View File

@ -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();

View File

@ -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);