Fixing logger for IntentCleanup
Change-Id: Id51fe14b87aaa14da5d5097aca83b8ed397b902c
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -56,7 +56,7 @@ import static org.slf4j.LoggerFactory.getLogger; | ... | @@ -56,7 +56,7 @@ import static org.slf4j.LoggerFactory.getLogger; |
56 | @Component(immediate = true) | 56 | @Component(immediate = true) |
57 | public class IntentCleanup implements Runnable, IntentListener { | 57 | public class IntentCleanup implements Runnable, IntentListener { |
58 | 58 | ||
59 | - private static final Logger log = getLogger(IntentManager.class); | 59 | + private static final Logger log = getLogger(IntentCleanup.class); |
60 | 60 | ||
61 | private static final int DEFAULT_PERIOD = 5; //seconds | 61 | private static final int DEFAULT_PERIOD = 5; //seconds |
62 | private static final int DEFAULT_THRESHOLD = 5; //tries | 62 | private static final int DEFAULT_THRESHOLD = 5; //tries |
... | @@ -68,7 +68,7 @@ public class IntentCleanup implements Runnable, IntentListener { | ... | @@ -68,7 +68,7 @@ public class IntentCleanup implements Runnable, IntentListener { |
68 | 68 | ||
69 | @Property(name = "retryThreshold", intValue = DEFAULT_THRESHOLD, | 69 | @Property(name = "retryThreshold", intValue = DEFAULT_THRESHOLD, |
70 | label = "Number of times to retry CORRUPT intent without delay") | 70 | label = "Number of times to retry CORRUPT intent without delay") |
71 | - private int retryThreshold = DEFAULT_THRESHOLD; | 71 | + protected int retryThreshold = DEFAULT_THRESHOLD; |
72 | 72 | ||
73 | @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) | 73 | @Reference(cardinality = ReferenceCardinality.MANDATORY_UNARY) |
74 | protected IntentService service; | 74 | protected IntentService service; | ... | ... |
-
Please register or login to post a comment