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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user