Skip to content

Commit 0ef1159

Browse files
authored
Lost commit
1 parent 521164a commit 0ef1159

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

jabkit/src/main/java/org/jabref/cli/CheckConsistency.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -73,26 +73,6 @@ public Integer call() {
7373
});
7474

7575
Writer writer = new OutputStreamWriter(System.out);
76-
BibliographyConsistencyCheckResultWriter checkResultWriter = getBibliographyConsistencyCheckResultWriter(result, writer, databaseContext);
77-
78-
// System.out should not be closed, therefore no try-with-resources
79-
try {
80-
checkResultWriter.writeFindings();
81-
writer.flush();
82-
} catch (IOException e) {
83-
LOGGER.error("Error writing results", e);
84-
return;
85-
}
86-
87-
if (!sharedOptions.porcelain) {
88-
System.out.println(Localization.lang("Consistency check completed"));
89-
}
90-
}
91-
92-
private BibliographyConsistencyCheckResultWriter getBibliographyConsistencyCheckResultWriter(
93-
BibliographyConsistencyCheck.Result result,
94-
Writer writer,
95-
BibDatabaseContext databaseContext) {
9676
BibliographyConsistencyCheckResultWriter checkResultWriter;
9777
if ("txt".equalsIgnoreCase(outputFormat)) {
9878
checkResultWriter = new BibliographyConsistencyCheckResultTxtWriter(

0 commit comments

Comments
 (0)