@@ -181,16 +181,16 @@ public void testBase64OutputStreamByteByByte() throws Exception {
181181 * the data from above, but decoded
182182 * @param chunkSize
183183 * chunk size (line-length) of the base64 encoded data.
184- * @param seperator
184+ * @param separator
185185 * Line separator in the base64 encoded data.
186186 * @throws Exception
187187 * Usually signifies a bug in the Base64 commons-codec implementation.
188188 */
189- private void testByChunk (final byte [] encoded , final byte [] decoded , final int chunkSize , final byte [] seperator ) throws Exception {
189+ private void testByChunk (final byte [] encoded , final byte [] decoded , final int chunkSize , final byte [] separator ) throws Exception {
190190
191191 // Start with encode.
192192 ByteArrayOutputStream byteOut = new ByteArrayOutputStream ();
193- OutputStream out = new Base64OutputStream (byteOut , true , chunkSize , seperator );
193+ OutputStream out = new Base64OutputStream (byteOut , true , chunkSize , separator );
194194 out .write (decoded );
195195 out .close ();
196196 byte [] output = byteOut .toByteArray ();
@@ -209,7 +209,7 @@ private void testByChunk(final byte[] encoded, final byte[] decoded, final int c
209209 out = byteOut ;
210210 for (int i = 0 ; i < 10 ; i ++) {
211211 out = new Base64OutputStream (out , false );
212- out = new Base64OutputStream (out , true , chunkSize , seperator );
212+ out = new Base64OutputStream (out , true , chunkSize , separator );
213213 }
214214 out .write (decoded );
215215 out .close ();
@@ -231,16 +231,16 @@ private void testByChunk(final byte[] encoded, final byte[] decoded, final int c
231231 * the data from above, but decoded
232232 * @param chunkSize
233233 * chunk size (line-length) of the base64 encoded data.
234- * @param seperator
234+ * @param separator
235235 * Line separator in the base64 encoded data.
236236 * @throws Exception
237237 * Usually signifies a bug in the Base64 commons-codec implementation.
238238 */
239- private void testByteByByte (final byte [] encoded , final byte [] decoded , final int chunkSize , final byte [] seperator ) throws Exception {
239+ private void testByteByByte (final byte [] encoded , final byte [] decoded , final int chunkSize , final byte [] separator ) throws Exception {
240240
241241 // Start with encode.
242242 ByteArrayOutputStream byteOut = new ByteArrayOutputStream ();
243- OutputStream out = new Base64OutputStream (byteOut , true , chunkSize , seperator );
243+ OutputStream out = new Base64OutputStream (byteOut , true , chunkSize , separator );
244244 for (final byte element : decoded ) {
245245 out .write (element );
246246 }
@@ -274,7 +274,7 @@ private void testByteByByte(final byte[] encoded, final byte[] decoded, final in
274274 out = byteOut ;
275275 for (int i = 0 ; i < 10 ; i ++) {
276276 out = new Base64OutputStream (out , false );
277- out = new Base64OutputStream (out , true , chunkSize , seperator );
277+ out = new Base64OutputStream (out , true , chunkSize , separator );
278278 }
279279 for (final byte element : decoded ) {
280280 out .write (element );
0 commit comments