1
0
mirror of https://github.com/square/okhttp.git synced 2026-01-25 16:01:38 +03:00

Merge pull request #119 from square/jwilson/style

Fix checkstyle errors
This commit is contained in:
Jesse Wilson
2013-02-17 13:25:27 -08:00

View File

@@ -29,7 +29,6 @@ import java.net.URI;
import java.net.URL;
import java.nio.ByteOrder;
import java.nio.charset.Charset;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicReference;
/** Junk drawer of utility methods. */
@@ -189,7 +188,9 @@ public final class Util {
out.write(buffer);
}
/** Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available. */
/**
* Fills 'dst' with bytes from 'in', throwing EOFException if insufficient bytes are available.
*/
public static void readFully(InputStream in, byte[] dst) throws IOException {
readFully(in, dst, 0, dst.length);
}