@@ -304,7 +304,7 @@ public void testDecodeStringEmpty() throws DecoderException {
304304 }
305305
306306 @ Test
307- public void testEncodeByteArrayEmpty () throws EncoderException {
307+ public void testEncodeByteArrayEmpty () {
308308 assertTrue (Arrays .equals (new byte [0 ], new Hex ().encode (new byte [0 ])));
309309 }
310310
@@ -314,7 +314,7 @@ public void testEncodeByteArrayObjectEmpty() throws EncoderException {
314314 }
315315
316316 @ Test
317- public void testEncodeByteBufferEmpty () throws EncoderException {
317+ public void testEncodeByteBufferEmpty () {
318318 assertTrue (Arrays .equals (new byte [0 ], new Hex ().encode (ByteBuffer .allocate (0 ))));
319319 }
320320
@@ -367,7 +367,7 @@ public void testEncodeDecodeHexCharArrayRandom() throws DecoderException, Encode
367367 }
368368
369369 @ Test
370- public void testEncodeHexByteArrayEmpty () throws EncoderException {
370+ public void testEncodeHexByteArrayEmpty () {
371371 assertTrue (Arrays .equals (new char [0 ], Hex .encodeHex (new byte [0 ])));
372372 assertTrue (Arrays .equals (new byte [0 ], new Hex ().encode (new byte [0 ])));
373373 }
@@ -405,7 +405,7 @@ public void testEncodeHexByteArrayZeroes() {
405405 }
406406
407407 @ Test
408- public void testEncodeHexByteBufferEmpty () throws EncoderException {
408+ public void testEncodeHexByteBufferEmpty () {
409409 assertTrue (Arrays .equals (new char [0 ], Hex .encodeHex (ByteBuffer .allocate (0 ))));
410410 assertTrue (Arrays .equals (new byte [0 ], new Hex ().encode (ByteBuffer .allocate (0 ))));
411411 }
@@ -448,12 +448,12 @@ public void testEncodeStringEmpty() throws EncoderException {
448448 }
449449
450450 @ Test
451- public void testGetCharset () throws UnsupportedEncodingException , DecoderException {
451+ public void testGetCharset () {
452452 Assert .assertEquals (Charsets .UTF_8 , new Hex (Charsets .UTF_8 ).getCharset ());
453453 }
454454
455455 @ Test
456- public void testGetCharsetName () throws UnsupportedEncodingException , DecoderException {
456+ public void testGetCharsetName () {
457457 Assert .assertEquals (Charsets .UTF_8 .name (), new Hex (Charsets .UTF_8 ).getCharsetName ());
458458 }
459459
0 commit comments