Skip to content

Commit

Permalink
spotbugs fix
Browse files Browse the repository at this point in the history
  • Loading branch information
artoonie committed Jun 14, 2024
1 parent 2d7ae7c commit 43ffd86
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/main/java/network/brightspots/rcv/TabulatorSession.java
Original file line number Diff line number Diff line change
Expand Up @@ -401,19 +401,19 @@ private LoadedCvrData parseCastVoteRecords(ContestConfig config, Progress progre
castVoteRecords = null;
} else {
Logger.info("Parsed %d cast vote records successfully.", castVoteRecords.size());
}

// Output the RCTab-CSV CVR
try {
ResultsWriter writer =
new ResultsWriter().setContestConfig(config).setTimestampString(timestampString);
this.convertedFilePath =
writer.writeRctabCvrCsv(
castVoteRecords,
perSourceDataForCsv,
config.getOutputDirectory());
} catch (IOException exception) {
// error already logged in ResultsWriter
// Output the RCTab-CSV CVR
try {
ResultsWriter writer =
new ResultsWriter().setContestConfig(config).setTimestampString(timestampString);
this.convertedFilePath =
writer.writeRctabCvrCsv(
castVoteRecords,
perSourceDataForCsv,
config.getOutputDirectory());
} catch (IOException exception) {
// error already logged in ResultsWriter
}
}
}

Expand Down

0 comments on commit 43ffd86

Please sign in to comment.