From 94410c5dbc9535e5d6df162d6577faab6cff72b1 Mon Sep 17 00:00:00 2001 From: Peter Serwylo Date: Mon, 12 Oct 2015 08:03:21 +1100 Subject: [PATCH] Code formatting to pass checkStyle. --- .../src/org/fdroid/fdroid/net/Downloader.java | 47 +++++++++++++++---- 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/F-Droid/src/org/fdroid/fdroid/net/Downloader.java b/F-Droid/src/org/fdroid/fdroid/net/Downloader.java index 22daabee9..b7529e7e2 100644 --- a/F-Droid/src/org/fdroid/fdroid/net/Downloader.java +++ b/F-Droid/src/org/fdroid/fdroid/net/Downloader.java @@ -224,13 +224,44 @@ public abstract class Downloader { Downloader.this.close(); } - @Override public int available() throws IOException { return toWrap.available(); } - @Override public void mark(int readlimit) { toWrap.mark(readlimit); } - @Override public boolean markSupported() { return toWrap.markSupported(); } - @Override public int read(@NonNull byte[] buffer) throws IOException { return toWrap.read(buffer); } - @Override public int read(@NonNull byte[] buffer, int byteOffset, int byteCount) throws IOException { return toWrap.read(buffer, byteOffset, byteCount); } - @Override public synchronized void reset() throws IOException { toWrap.reset(); } - @Override public long skip(long byteCount) throws IOException { return toWrap.skip(byteCount); } - @Override public int read() throws IOException { return toWrap.read(); } + @Override + public int available() throws IOException { + return toWrap.available(); + } + + @Override + public void mark(int readlimit) { + toWrap.mark(readlimit); + } + + @Override + public boolean markSupported() { + return toWrap.markSupported(); + } + + @Override + public int read(@NonNull byte[] buffer) throws IOException { + return toWrap.read(buffer); + } + + @Override + public int read(@NonNull byte[] buffer, int byteOffset, int byteCount) throws IOException { + return toWrap.read(buffer, byteOffset, byteCount); + } + + @Override + public synchronized void reset() throws IOException { + toWrap.reset(); + } + + @Override + public long skip(long byteCount) throws IOException { + return toWrap.skip(byteCount); + } + + @Override + public int read() throws IOException { + return toWrap.read(); + } } }