Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Commit

Permalink
respect max line length
Browse files Browse the repository at this point in the history
  • Loading branch information
hilmarf committed Sep 5, 2022
1 parent e06d714 commit 3309bb4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ protected List<Optional<Object>> getRequiredFieldValues(StatisticsJsonStringObje
}

if (stats.getInfectionsReportedDaily() < stats.getInfectionsReported7daysAvg() * 0.01) {
logger.warn("skipping '{}' for '{}', because the reported infections are less than {}% of the last 7 days average", stats.getEffectiveDate(),
INFECTIONS_CARD, 0.01 * 100);
logger.warn(
"skipping '{}' for '{}', because the reported infections are less than {}% of the last 7 days average",
stats.getEffectiveDate(), INFECTIONS_CARD, 0.01 * 100);
return List.of(Optional.empty());
}

return requiredFields;
}
}

0 comments on commit 3309bb4

Please sign in to comment.