fix sonar warnings

This commit is contained in:
Athou
2025-07-18 21:25:34 +02:00
parent f8bf9370de
commit 3b8f62ff11
13 changed files with 35 additions and 37 deletions

View File

@@ -114,6 +114,7 @@ public class FeedRefreshUpdater {
}
} catch (InterruptedException e) {
log.error("interrupted while waiting for lock for {} : {}", feed.getUrl(), e.getMessage(), e);
Thread.currentThread().interrupt();
} finally {
if (locked1) {
lock1.unlock();

View File

@@ -20,12 +20,14 @@ import com.commafeed.backend.feed.parser.TextDirectionDetector;
import com.commafeed.backend.model.FeedSubscription;
import com.commafeed.frontend.model.Entry;
import lombok.experimental.UtilityClass;
import lombok.extern.slf4j.Slf4j;
/**
* Utility methods related to feed handling
*
*/
@UtilityClass
@Slf4j
public class FeedUtils {