mirror of
https://github.com/Athou/commafeed.git
synced 2026-09-25 05:24:20 +00:00
fix sonar warnings
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user