remove toString(String) method in ByteSequence
faster & better to use explicit toString(Charset charset) instead
fixes
package io.etcd.jetcd.data;
import com.google.protobuf.ByteString;
-import java.io.UnsupportedEncodingException;
import java.nio.charset.Charset;
/**
@@ -61,10 +60,6 @@ public final class ByteSequence {
return byteString.toString(charset);
}
- public String toString(String charsetName) throws UnsupportedEncodingException {
- return byteString.toString(charsetName);
- }
-
public byte[] getBytes() {
return byteString.toByteArray();
}
