@@ -118,10 +118,10 @@ public QCodec() {
118118 }
119119
120120 /**
121- * Constructor which allows for the selection of a default charset
121+ * Constructor which allows for the selection of a default charset.
122122 *
123123 * @param charset
124- * the default string charset to use.
124+ * the default string charset to use.
125125 *
126126 * @see <a href="http://download.oracle.com/javase/6/docs/api/java/nio/charset/Charset.html">Standard charsets</a>
127127 * @since 1.7
@@ -132,10 +132,10 @@ public QCodec(final Charset charset) {
132132 }
133133
134134 /**
135- * Constructor which allows for the selection of a default charset
135+ * Constructor which allows for the selection of a default charset.
136136 *
137137 * @param charsetName
138- * the charset to use.
138+ * the charset to use.
139139 * @throws UnsupportedCharsetException
140140 * If the named charset is unavailable
141141 * @since 1.7 throws UnsupportedCharsetException if the named charset is unavailable
@@ -197,13 +197,12 @@ protected byte[] doDecoding(byte[] bytes) throws DecoderException {
197197 * Encodes a string into its quoted-printable form using the specified charset. Unsafe characters are escaped.
198198 *
199199 * @param str
200- * string to convert to quoted-printable form
200+ * string to convert to quoted-printable form
201201 * @param charset
202- * the charset for str
202+ * the charset for str
203203 * @return quoted-printable string
204- *
205204 * @throws EncoderException
206- * thrown if a failure condition is encountered during the encoding process.
205+ * thrown if a failure condition is encountered during the encoding process.
207206 * @since 1.7
208207 */
209208 public String encode (final String str , final Charset charset ) throws EncoderException {
@@ -217,13 +216,12 @@ public String encode(final String str, final Charset charset) throws EncoderExce
217216 * Encodes a string into its quoted-printable form using the specified charset. Unsafe characters are escaped.
218217 *
219218 * @param str
220- * string to convert to quoted-printable form
219+ * string to convert to quoted-printable form
221220 * @param charset
222- * the charset for str
221+ * the charset for str
223222 * @return quoted-printable string
224- *
225223 * @throws EncoderException
226- * thrown if a failure condition is encountered during the encoding process.
224+ * thrown if a failure condition is encountered during the encoding process.
227225 */
228226 public String encode (final String str , final String charset ) throws EncoderException {
229227 if (str == null ) {
@@ -240,11 +238,10 @@ public String encode(final String str, final String charset) throws EncoderExcep
240238 * Encodes a string into its quoted-printable form using the default charset. Unsafe characters are escaped.
241239 *
242240 * @param str
243- * string to convert to quoted-printable form
241+ * string to convert to quoted-printable form
244242 * @return quoted-printable string
245- *
246243 * @throws EncoderException
247- * thrown if a failure condition is encountered during the encoding process.
244+ * thrown if a failure condition is encountered during the encoding process.
248245 */
249246 @ Override
250247 public String encode (String str ) throws EncoderException {
@@ -259,12 +256,10 @@ public String encode(String str) throws EncoderException {
259256 * representation.
260257 *
261258 * @param str
262- * quoted-printable string to convert into its original form
263- *
259+ * quoted-printable string to convert into its original form
264260 * @return original string
265- *
266261 * @throws DecoderException
267- * A decoder exception is thrown if a failure condition is encountered during the decode process.
262+ * A decoder exception is thrown if a failure condition is encountered during the decode process.
268263 */
269264 @ Override
270265 public String decode (String str ) throws DecoderException {
@@ -282,11 +277,10 @@ public String decode(String str) throws DecoderException {
282277 * Encodes an object into its quoted-printable form using the default charset. Unsafe characters are escaped.
283278 *
284279 * @param obj
285- * object to convert to quoted-printable form
280+ * object to convert to quoted-printable form
286281 * @return quoted-printable object
287- *
288282 * @throws EncoderException
289- * thrown if a failure condition is encountered during the encoding process.
283+ * thrown if a failure condition is encountered during the encoding process.
290284 */
291285 @ Override
292286 public Object encode (Object obj ) throws EncoderException {
@@ -306,13 +300,11 @@ public Object encode(Object obj) throws EncoderException {
306300 * representation.
307301 *
308302 * @param obj
309- * quoted-printable object to convert into its original form
310- *
303+ * quoted-printable object to convert into its original form
311304 * @return original object
312- *
313305 * @throws DecoderException
314- * Thrown if the argument is not a <code>String</code>. Thrown if a failure condition is
315- * encountered during the decode process.
306+ * Thrown if the argument is not a <code>String</code>. Thrown if a failure condition is encountered
307+ * during the decode process.
316308 */
317309 @ Override
318310 public Object decode (Object obj ) throws DecoderException {
@@ -359,7 +351,7 @@ public boolean isEncodeBlanks() {
359351 * Defines whether optional transformation of SPACE characters is to be used
360352 *
361353 * @param b
362- * {@code true} if SPACE characters are to be transformed, {@code false} otherwise
354+ * {@code true} if SPACE characters are to be transformed, {@code false} otherwise
363355 */
364356 public void setEncodeBlanks (boolean b ) {
365357 this .encodeBlanks = b ;
0 commit comments