summaryrefslogtreecommitdiffstats
path: root/vespajlib
diff options
context:
space:
mode:
authorHÃ¥kon Hallingstad <hakon.hallingstad@gmail.com>2020-04-30 16:02:53 +0200
committerGitHub <noreply@github.com>2020-04-30 16:02:53 +0200
commita3be299e79cf0d00a4bdc79c93a30af2cb977901 (patch)
tree5d9c31755f4eefebce6dd41c31a7bf3bcb52db61 /vespajlib
parent48ff6fe2efd6901796a9b8a0ceb8161232bcea15 (diff)
Revert "Bratseth/allow non allocatable limits"
Diffstat (limited to 'vespajlib')
-rw-r--r--vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java b/vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java
index 9c40e5ec54f..847be20e963 100644
--- a/vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java
+++ b/vespajlib/src/main/java/com/yahoo/concurrent/maintenance/Maintainer.java
@@ -79,7 +79,6 @@ public abstract class Maintainer implements Runnable, AutoCloseable {
protected Duration interval() { return interval; }
/** Run this while holding the job lock */
- @SuppressWarnings("unused")
public final void lockAndMaintain() {
try (var lock = jobControl.lockJob(name())) {
maintain();