class DistrictAlertUtils {

    public static String buildDistrictwiseAlert(List<DistrictwiseData> deltas, List<DistrictwiseData> dailies) {
        AtomicReference<String> alertText = new AtomicReference<>("");
        deltas.forEach(delta -> buildDistrictDeltaAlertLine(alertText, delta));
        if (alertText.get().isEmpty() || "\n".equalsIgnoreCase(alertText.get())) {
            LOG.info("No useful update to alert on. Skipping...");
            return "";
        }
//        buildDistrictSummaryAlertBlock(alertText, deltas, dailies);
        LOG.info("Districtwise alert text generated:\n{}", alertText.get());
        return alertText.get();
    }

}