Can use `if (Strings.isBlank(entry.getValue()))`, in case the value is null.