Skip to content

Commit

Permalink
MODSOURMAN-1106: Revert condition check (#848)
Browse files Browse the repository at this point in the history
MODSOURMAN-1106: Revert condition check (#848)
  • Loading branch information
Maksat-Galymzhan authored Jan 25, 2024
1 parent 7cad088 commit cf510d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ private Future<JournalRecord> populateRecordTitleIfNeeded(JournalRecord journalR
return titleExtractor.apply(parsedRecord, mappingRules);
})
.map(title -> {
if (title.isEmpty() || title == null) {
if (title == null || title.isEmpty()) {
title = NO_TITLE_MESSAGE;
}
return Future.succeededFuture(journalRecord.withTitle(title));
Expand Down

0 comments on commit cf510d4

Please sign in to comment.