Fix last checkstyle error

This commit is contained in:
Bruno P. Kinoshita 2017-08-26 19:33:27 +12:00
parent 87b75e02a3
commit f7d7d63ee1
1 changed files with 2 additions and 1 deletions

View File

@ -177,7 +177,8 @@ public final class CSVParser implements Iterable<CSVRecord>, Closeable {
* @since 1.5 * @since 1.5
*/ */
@SuppressWarnings("resource") @SuppressWarnings("resource")
public static CSVParser parse(final InputStream inputStream, final Charset charset, final CSVFormat format) throws IOException { public static CSVParser parse(final InputStream inputStream, final Charset charset, final CSVFormat format)
throws IOException {
Assertions.notNull(inputStream, "inputStream"); Assertions.notNull(inputStream, "inputStream");
Assertions.notNull(format, "format"); Assertions.notNull(format, "format");
return parse(new InputStreamReader(inputStream, charset), format); return parse(new InputStreamReader(inputStream, charset), format);