checkstyle: 'cast' is not followed by whitespace.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/fileupload/trunk@1456649 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/fileupload/util/mime/Base64Decoder.java b/src/main/java/org/apache/commons/fileupload/util/mime/Base64Decoder.java
index ca1bb3a..aa6e100 100644
--- a/src/main/java/org/apache/commons/fileupload/util/mime/Base64Decoder.java
+++ b/src/main/java/org/apache/commons/fileupload/util/mime/Base64Decoder.java
@@ -25,21 +25,21 @@
final class Base64Decoder {
protected final byte[] ENCODING_TABLE = {
- (byte)'A', (byte)'B', (byte)'C', (byte)'D', (byte)'E', (byte)'F', (byte)'G',
- (byte)'H', (byte)'I', (byte)'J', (byte)'K', (byte)'L', (byte)'M', (byte)'N',
- (byte)'O', (byte)'P', (byte)'Q', (byte)'R', (byte)'S', (byte)'T', (byte)'U',
- (byte)'V', (byte)'W', (byte)'X', (byte)'Y', (byte)'Z',
- (byte)'a', (byte)'b', (byte)'c', (byte)'d', (byte)'e', (byte)'f', (byte)'g',
- (byte)'h', (byte)'i', (byte)'j', (byte)'k', (byte)'l', (byte)'m', (byte)'n',
- (byte)'o', (byte)'p', (byte)'q', (byte)'r', (byte)'s', (byte)'t', (byte)'u',
- (byte)'v',
- (byte)'w', (byte)'x', (byte)'y', (byte)'z',
- (byte)'0', (byte)'1', (byte)'2', (byte)'3', (byte)'4', (byte)'5', (byte)'6',
- (byte)'7', (byte)'8', (byte)'9',
- (byte)'+', (byte)'/'
+ (byte) 'A', (byte) 'B', (byte) 'C', (byte) 'D', (byte) 'E', (byte) 'F', (byte) 'G',
+ (byte) 'H', (byte) 'I', (byte) 'J', (byte) 'K', (byte) 'L', (byte) 'M', (byte) 'N',
+ (byte) 'O', (byte) 'P', (byte) 'Q', (byte) 'R', (byte) 'S', (byte) 'T', (byte) 'U',
+ (byte) 'V', (byte) 'W', (byte) 'X', (byte) 'Y', (byte) 'Z',
+ (byte) 'a', (byte) 'b', (byte) 'c', (byte) 'd', (byte) 'e', (byte) 'f', (byte) 'g',
+ (byte) 'h', (byte) 'i', (byte) 'j', (byte) 'k', (byte) 'l', (byte) 'm', (byte) 'n',
+ (byte) 'o', (byte) 'p', (byte) 'q', (byte) 'r', (byte) 's', (byte) 't', (byte) 'u',
+ (byte) 'v',
+ (byte) 'w', (byte) 'x', (byte) 'y', (byte) 'z',
+ (byte) '0', (byte) '1', (byte) '2', (byte) '3', (byte) '4', (byte) '5', (byte) '6',
+ (byte) '7', (byte) '8', (byte) '9',
+ (byte) '+', (byte) '/'
};
- protected byte padding = (byte)'=';
+ protected byte padding = (byte) '=';
/*
* set up the decoding table.
@@ -48,7 +48,7 @@
protected void initialiseDecodingTable() {
for (int i = 0; i < ENCODING_TABLE.length; i++) {
- decodingTable[ENCODING_TABLE[i]] = (byte)i;
+ decodingTable[ENCODING_TABLE[i]] = (byte) i;
}
}
@@ -79,7 +79,7 @@
int end = off + length;
while (end > 0) {
- if (!ignore((char)data[end - 1])) {
+ if (!ignore((char) data[end - 1])) {
break;
}
@@ -90,25 +90,25 @@
int finish = end - 4;
while (i < finish) {
- while ((i < finish) && ignore((char)data[i])) {
+ while ((i < finish) && ignore((char) data[i])) {
i++;
}
b1 = decodingTable[data[i++]];
- while ((i < finish) && ignore((char)data[i])) {
+ while ((i < finish) && ignore((char) data[i])) {
i++;
}
b2 = decodingTable[data[i++]];
- while ((i < finish) && ignore((char)data[i])) {
+ while ((i < finish) && ignore((char) data[i])) {
i++;
}
b3 = decodingTable[data[i++]];
- while ((i < finish) && ignore((char)data[i])) {
+ while ((i < finish) && ignore((char) data[i])) {
i++;
}