File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/io/input Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public CountingInputStream(final InputStream in) {
5252 @ Override
5353 protected synchronized void afterRead (final int n ) {
5454 if (n != EOF ) {
55- this . count += n ;
55+ count += n ;
5656 }
5757 }
5858
@@ -68,7 +68,7 @@ protected synchronized void afterRead(final int n) {
6868 * @since 1.3
6969 */
7070 public synchronized long getByteCount () {
71- return this . count ;
71+ return count ;
7272 }
7373
7474 /**
@@ -104,8 +104,8 @@ public int getCount() {
104104 * @since 1.3
105105 */
106106 public synchronized long resetByteCount () {
107- final long tmp = this . count ;
108- this . count = 0 ;
107+ final long tmp = count ;
108+ count = 0 ;
109109 return tmp ;
110110 }
111111
@@ -142,7 +142,7 @@ public int resetCount() {
142142 @ Override
143143 public synchronized long skip (final long length ) throws IOException {
144144 final long skip = super .skip (length );
145- this . count += skip ;
145+ count += skip ;
146146 return skip ;
147147 }
148148
You can’t perform that action at this time.
0 commit comments