aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/files/ProgressInputStream.java
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo/geocaching/files/ProgressInputStream.java')
-rw-r--r--main/src/cgeo/geocaching/files/ProgressInputStream.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/cgeo/geocaching/files/ProgressInputStream.java b/main/src/cgeo/geocaching/files/ProgressInputStream.java
index 552aee0..3b249a1 100644
--- a/main/src/cgeo/geocaching/files/ProgressInputStream.java
+++ b/main/src/cgeo/geocaching/files/ProgressInputStream.java
@@ -16,12 +16,12 @@ public class ProgressInputStream extends FilterInputStream {
private int progress = 0;
- protected ProgressInputStream(InputStream in) {
+ protected ProgressInputStream(final InputStream in) {
super(in);
}
@Override
- public int read() throws IOException {
+ public int read() throws IOException { // NO_UCD This method is called from the framework
final int read = super.read();
if (read >= 0) {
progress++;
@@ -30,7 +30,7 @@ public class ProgressInputStream extends FilterInputStream {
}
@Override
- public int read(byte[] buffer, int offset, int count) throws IOException {
+ public int read(final byte[] buffer, final int offset, final int count) throws IOException {
final int read = super.read(buffer, offset, count);
progress += read;
return read;