Skip to content

Commit

Permalink
Fix test calling protected method
Browse files Browse the repository at this point in the history
  • Loading branch information
albfernandez committed Jan 19, 2024
1 parent f17efae commit fad00e3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ public void testBug34EncodingStream() throws DBFException {
ByteArrayInputStream bais = new ByteArrayInputStream(data);

List<String> names = new ArrayList<String>();
reader = new DBFReader(bais);
reader.setCharset(StandardCharsets.UTF_8);
reader = new DBFReader(bais, StandardCharsets.UTF_8);
Object[] rowObject;
while ((rowObject = reader.nextRecord()) != null) {
names.add((String) rowObject[0]);
Expand Down

0 comments on commit fad00e3

Please sign in to comment.