1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-24 04:02:07 +03:00

Remove useless String.format call.

This commit is contained in:
Jake Wharton
2013-11-03 20:28:59 -08:00
parent dcddd5eec1
commit 19a21936ff

View File

@@ -85,7 +85,7 @@ class NameValueBlockReader implements Closeable {
for (int i = 0; i < numberOfPairs; i++) {
String name = readString();
String values = readString();
if (name.length() == 0) throw new IOException(String.format("name.length == 0"));
if (name.length() == 0) throw new IOException("name.length == 0");
entries.add(name);
entries.add(values);
}