> > > + @Test > + public void testDeserialisation() throws IOException { > + CSVRecord shortRec; > + try (final CSVParser parser = CSVParser.parse("A,B\n#my > comment\nOne,Two", CSVFormat.DEFAULT.withHeader().withCommentMarker('#'))) { > + shortRec = parser.iterator().next(); > + } > + try (FileOutputStream out = new > FileOutputStream("/tmp/csvRecord.ser"); > + ObjectOutputStream oos = new ObjectOutputStream(out)) { > + oos.writeObject(shortRec); > + } > } >
This can't be right: "/tmp/csvRecord.ser" Gary