Skip to content

Commit

Permalink
Fix #490
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-asprino committed Aug 18, 2024
1 parent 40ae939 commit d1e09ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ public CloseableIterable<Slice> slice(Properties properties) throws IOException,
// XXX How do we close the inputstream?
final InputStream is = Triplifier.getInputStream(properties);

Reader in = new InputStreamReader(new BOMInputStream(is), charset);
Reader in = new InputStreamReader(BOMInputStream.builder().setInputStream(is).get(), charset);

Iterable<CSVRecord> records = format.parse(in);
final Iterator<CSVRecord> recordIterator = records.iterator();
Expand Down

0 comments on commit d1e09ea

Please sign in to comment.