Skip to content

Commit 875e5cf

Browse files
committed
Clean up: Unnecessarily nested statement.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@793703 13f79535-47bb-0310-9956-ffa450edef68
1 parent f447e02 commit 875e5cf

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/java/org/apache/commons/codec/binary/Base64InputStream.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,8 @@ public int read() throws IOException {
105105
}
106106
if (r > 0) {
107107
return singleByte[0] < 0 ? 256 + singleByte[0] : singleByte[0];
108-
} else {
109-
return -1;
110108
}
109+
return -1;
111110
}
112111

113112
/**

0 commit comments

Comments
 (0)