@@ -217,7 +217,7 @@ void validIPv4_short_address() throws IOException {
217217 }
218218
219219 @ Test
220- void invalid_IPv4_prefix () throws IOException {
220+ void invalid_IPv4_prefix () {
221221 byte [] raw =
222222 new byte [] {
223223 0 ,
@@ -236,7 +236,7 @@ void invalid_IPv4_prefix() throws IOException {
236236 }
237237
238238 @ Test
239- void invalid_IPv4_length () throws IOException {
239+ void invalid_IPv4_length () {
240240 byte [] raw =
241241 new byte [] {
242242 0 ,
@@ -404,77 +404,77 @@ void validIPv6() throws IOException {
404404 }
405405
406406 @ Test
407- void no_colon () throws IOException {
407+ void no_colon () {
408408 Tokenizer t = new Tokenizer ("!1192.68.0.1/20" );
409409 APLRecord ar = new APLRecord ();
410410 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
411411 }
412412
413413 @ Test
414- void colon_and_slash_swapped () throws IOException {
414+ void colon_and_slash_swapped () {
415415 Tokenizer t = new Tokenizer ("!1/192.68.0.1:20" );
416416 APLRecord ar = new APLRecord ();
417417 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
418418 }
419419
420420 @ Test
421- void no_slash () throws IOException {
421+ void no_slash () {
422422 Tokenizer t = new Tokenizer ("!1:192.68.0.1|20" );
423423 APLRecord ar = new APLRecord ();
424424 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
425425 }
426426
427427 @ Test
428- void empty_family () throws IOException {
428+ void empty_family () {
429429 Tokenizer t = new Tokenizer ("!:192.68.0.1/20" );
430430 APLRecord ar = new APLRecord ();
431431 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
432432 }
433433
434434 @ Test
435- void malformed_family () throws IOException {
435+ void malformed_family () {
436436 Tokenizer t = new Tokenizer ("family:192.68.0.1/20" );
437437 APLRecord ar = new APLRecord ();
438438 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
439439 }
440440
441441 @ Test
442- void invalid_family () throws IOException {
442+ void invalid_family () {
443443 Tokenizer t = new Tokenizer ("3:192.68.0.1/20" );
444444 APLRecord ar = new APLRecord ();
445445 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
446446 }
447447
448448 @ Test
449- void empty_prefix () throws IOException {
449+ void empty_prefix () {
450450 Tokenizer t = new Tokenizer ("1:192.68.0.1/" );
451451 APLRecord ar = new APLRecord ();
452452 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
453453 }
454454
455455 @ Test
456- void malformed_prefix () throws IOException {
456+ void malformed_prefix () {
457457 Tokenizer t = new Tokenizer ("1:192.68.0.1/prefix" );
458458 APLRecord ar = new APLRecord ();
459459 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
460460 }
461461
462462 @ Test
463- void invalid_prefix () throws IOException {
463+ void invalid_prefix () {
464464 Tokenizer t = new Tokenizer ("1:192.68.0.1/33" );
465465 APLRecord ar = new APLRecord ();
466466 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
467467 }
468468
469469 @ Test
470- void empty_address () throws IOException {
470+ void empty_address () {
471471 Tokenizer t = new Tokenizer ("1:/33" );
472472 APLRecord ar = new APLRecord ();
473473 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
474474 }
475475
476476 @ Test
477- void malformed_address () throws IOException {
477+ void malformed_address () {
478478 Tokenizer t = new Tokenizer ("1:A.B.C.D/33" );
479479 APLRecord ar = new APLRecord ();
480480 assertThrows (TextParseException .class , () -> ar .rdataFromString (t , null ));
0 commit comments