@@ -65,14 +65,14 @@ abstract class RFC1522Codec {
6565 * Applies an RFC 1522 compliant encoding scheme to the given string of text with the
6666 * given charset. This method constructs the "encoded-word" header common to all the
6767 * RFC 1522 codecs and then invokes {@link #doEncoding(byte [])} method of a concrete
68- * class to perform the specific enconding .
68+ * class to perform the specific encoding .
6969 *
7070 * @param text a string to encode
7171 * @param charset a charset to be used
7272 *
7373 * @return RFC 1522 compliant "encoded-word"
7474 *
75- * @throws EncoderException thrown if there is an error conidition during the Encoding
75+ * @throws EncoderException thrown if there is an error condition during the Encoding
7676 * process.
7777 * @throws UnsupportedEncodingException thrown if charset is not supported
7878 *
@@ -99,12 +99,12 @@ protected String encodeText(final String text, final String charset)
9999 /**
100100 * Applies an RFC 1522 compliant decoding scheme to the given string of text. This method
101101 * processes the "encoded-word" header common to all the RFC 1522 codecs and then invokes
102- * {@link #doEncoding(byte [])} method of a concrete class to perform the specific deconding .
102+ * {@link #doEncoding(byte [])} method of a concrete class to perform the specific decoding .
103103 *
104104 * @param text a string to decode
105105 * @return A new decoded String or <code>null</code> if the input is <code>null</code>.
106106 *
107- * @throws DecoderException thrown if there is an error conidition during the Decoding
107+ * @throws DecoderException thrown if there is an error condition during the decoding
108108 * process.
109109 * @throws UnsupportedEncodingException thrown if charset specified in the "encoded-word"
110110 * header is not supported
0 commit comments