Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Commit

Permalink
disable consolidation also when DOI available kermitt2#300
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Apr 24, 2018
1 parent 1d4f339 commit f6a3eda
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public String processingHeaderBlock(boolean consolidate, Document doc, BiblioIte
}
}

if (consolidate || (resHeader.getDOI() != null)) {
if (consolidate) {
resHeader = consolidateHeader(resHeader);
}

Expand Down Expand Up @@ -477,7 +477,7 @@ public String processingHeaderSection(boolean consolidate, Document doc, BiblioI
}
}

if (consolidate || (resHeader.getDOI() != null)) {
if (consolidate) {
resHeader = consolidateHeader(resHeader);
}

Expand Down

0 comments on commit f6a3eda

Please sign in to comment.