Skip to content

Commit

Permalink
Remove unused private field
Browse files Browse the repository at this point in the history
  • Loading branch information
albfernandez committed Jan 19, 2024
1 parent 82c70ac commit f17efae
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/main/java/com/linuxense/javadbf/DBFReader.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ public class DBFReader extends DBFBase implements Closeable {
private DBFHeader header;
private boolean trimRightSpaces = true;
private int internalRecord = 0;
private int returnedRecords = 0;

private DBFMemoFile memoFile = null;

Expand Down Expand Up @@ -390,7 +389,6 @@ public Object[] nextRecord() {
} catch (IOException e) {
throw new DBFException(e.getMessage(), e);
}
this.returnedRecords++;
this.internalRecord++;
return recordObjects.toArray();
}
Expand Down Expand Up @@ -546,7 +544,6 @@ public void skipRecords(int recordsToSkip) throws IOException {
if (showDeletedRows) {
skip(recordsToSkip * this.header.recordLength);
this.internalRecord+=recordsToSkip;
this.returnedRecords+=recordsToSkip;
}
else {
for (int i = 0; i < recordsToSkip; i++) {
Expand All @@ -569,7 +566,6 @@ public void skipRecords(int recordsToSkip) throws IOException {
return;
}
}
this.returnedRecords++;
}
}
}
Expand Down

0 comments on commit f17efae

Please sign in to comment.