remove warnings

This commit is contained in:
Athou
2024-07-03 20:05:20 +02:00
parent 6bff657d4d
commit d4c9bd1dd7
17 changed files with 128 additions and 129 deletions

View File

@@ -120,10 +120,10 @@ public class FeedRefreshUpdater {
return newEntry;
});
} else {
log.error("lock timeout for " + feed.getUrl() + " - " + key1);
log.error("lock timeout for {} - {}", feed.getUrl(), key1);
}
} catch (InterruptedException e) {
log.error("interrupted while waiting for lock for " + feed.getUrl() + " : " + e.getMessage(), e);
log.error("interrupted while waiting for lock for {} : {}", feed.getUrl(), e.getMessage(), e);
} finally {
if (locked1) {
lock1.unlock();

View File

@@ -139,7 +139,7 @@ public class FeedUtils {
try {
return new URL(new URL(baseUrl), relativeUrl).toString();
} catch (MalformedURLException e) {
log.debug("could not parse url : " + e.getMessage(), e);
log.debug("could not parse url : {}", e.getMessage(), e);
return null;
}
}