@@ -495,7 +495,7 @@ public void testJira135_part1() throws IOException {
495495 final CSVFormat format = CSVFormat .DEFAULT .withRecordSeparator ('\n' ).withQuote ('"' ).withEscape ('\\' );
496496 final StringWriter sw = new StringWriter ();
497497 final CSVPrinter printer = new CSVPrinter (sw , format );
498- final List <String > list = new LinkedList <String >();
498+ final List <String > list = new LinkedList <>();
499499 list .add ("\" " );
500500 printer .printRecord (list );
501501 printer .close ();
@@ -511,7 +511,7 @@ public void testJira135_part2() throws IOException {
511511 final CSVFormat format = CSVFormat .DEFAULT .withRecordSeparator ('\n' ).withQuote ('"' ).withEscape ('\\' );
512512 final StringWriter sw = new StringWriter ();
513513 final CSVPrinter printer = new CSVPrinter (sw , format );
514- final List <String > list = new LinkedList <String >();
514+ final List <String > list = new LinkedList <>();
515515 list .add ("\n " );
516516 printer .printRecord (list );
517517 printer .close ();
@@ -527,7 +527,7 @@ public void testJira135_part3() throws IOException {
527527 final CSVFormat format = CSVFormat .DEFAULT .withRecordSeparator ('\n' ).withQuote ('"' ).withEscape ('\\' );
528528 final StringWriter sw = new StringWriter ();
529529 final CSVPrinter printer = new CSVPrinter (sw , format );
530- final List <String > list = new LinkedList <String >();
530+ final List <String > list = new LinkedList <>();
531531 list .add ("\\ " );
532532 printer .printRecord (list );
533533 printer .close ();
@@ -543,7 +543,7 @@ public void testJira135All() throws IOException {
543543 final CSVFormat format = CSVFormat .DEFAULT .withRecordSeparator ('\n' ).withQuote ('"' ).withEscape ('\\' );
544544 final StringWriter sw = new StringWriter ();
545545 final CSVPrinter printer = new CSVPrinter (sw , format );
546- final List <String > list = new LinkedList <String >();
546+ final List <String > list = new LinkedList <>();
547547 list .add ("\" " );
548548 list .add ("\n " );
549549 list .add ("\\ " );
0 commit comments