File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
jabkit/src/main/java/org/jabref/cli Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -73,26 +73,6 @@ public Integer call() {
73
73
});
74
74
75
75
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 ) {
96
76
BibliographyConsistencyCheckResultWriter checkResultWriter ;
97
77
if ("txt" .equalsIgnoreCase (outputFormat )) {
98
78
checkResultWriter = new BibliographyConsistencyCheckResultTxtWriter (
You can’t perform that action at this time.
0 commit comments