diff --git a/src/main/java/org/apache/commons/fileupload/MultipartStream.java b/src/main/java/org/apache/commons/fileupload/MultipartStream.java index 64b77ca9de..5ced338d57 100644 --- a/src/main/java/org/apache/commons/fileupload/MultipartStream.java +++ b/src/main/java/org/apache/commons/fileupload/MultipartStream.java @@ -47,8 +47,8 @@ * body := header-part CRLF body-part
* header-part := 1*header CRLF
* header := header-name ":" header-value
- * header-name := <printable ascii characters except ":">
- * header-value := <any ascii characters except CR & LF>
+ * header-name := <printable ASCII characters except ":">
+ * header-value := <any ASCII characters except CR & LF>
* body-data := <arbitrary data>
* * diff --git a/src/main/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java b/src/main/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java index 68381b4801..e2c9ba35a9 100644 --- a/src/main/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java +++ b/src/main/java/org/apache/commons/fileupload/util/mime/QuotedPrintableDecoder.java @@ -26,7 +26,7 @@ final class QuotedPrintableDecoder { /** * The shift value required to create the upper nibble - * from the first of 2 byte values converted from ascii hex. + * from the first of 2 byte values converted from ASCII hex. */ private static final int UPPER_NIBBLE_SHIFT = Byte.SIZE / 2; @@ -88,7 +88,7 @@ public static int decode(final byte[] data, final OutputStream out) throws IOExc /** * Convert a hex digit to the binary value it represents. * - * @param b the ascii hex byte to convert (0-0, A-F, a-f) + * @param b the ASCII hex byte to convert (0-0, A-F, a-f) * @return the int value of the hex byte, 0-15 * @throws IOException if the byte is not a valid hex digit. */