Le 17/07/2014 10:54, Jörg Schaible a écrit :
> The claim of Emmanuel that CSV uses AutoCloseable is simply not true:
>
> $> find commons-csv-1.0-src -type f -exec grep AutoClose {} +
You are right, sorry about that I got confused by the Javadoc of CSVPrinter:
http://people.apache.org/~britter/csv-1.0-RC1/apidocs/org/apache/commons/csv/CSVPrinter.html
It shows CSVPrinter as implementing AutoCloseable, but this is a side
effect of building the Javadoc with Java 7 instead of Java 6. CSVPrinter
implements only Closeable (available in Java 5) which extends
AutoCloseable in Java 7.
Emmanuel bourg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]