Reduce SAT warnings (#15090)
Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -108,7 +108,6 @@ public class HTTPHandler {
|
||||
latestTime = iterTime;
|
||||
latestData = iterData;
|
||||
} // else - found item is older - nothing to do
|
||||
|
||||
} else {
|
||||
logger.warn("One or two dates cannot be decoded 1) {} 2) {}", iterTimeStr, latestTimeStr);
|
||||
}
|
||||
|
||||
@@ -35,7 +35,6 @@ public class DateTimeUtils {
|
||||
public static synchronized @Nullable LocalDateTime toDate(String dateTime) {
|
||||
try {
|
||||
return LocalDateTime.from(DTF.parse(dateTime));
|
||||
|
||||
} catch (DateTimeParseException e) {
|
||||
LOGGER.debug("Unable to parse date {}", dateTime);
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user