Avoid star imports and add missing braces (#10521)
Fixes the following SAT findings: * AvoidStarImportCheck (125) * NeedBracesCheck (39) Signed-off-by: Wouter Born <github@maindrain.net>
This commit is contained in:
@@ -159,12 +159,14 @@ public class ValloxMVHandler extends BaseThingHandler {
|
||||
}
|
||||
|
||||
private void scheduleReadDataJob(int initialDelay) {
|
||||
if (initialDelay < 0)
|
||||
if (initialDelay < 0) {
|
||||
initialDelay = 0;
|
||||
}
|
||||
|
||||
readDataInterval = getConfigAs(ValloxMVConfig.class).getUpdateinterval();
|
||||
if (readDataInterval < 15)
|
||||
if (readDataInterval < 15) {
|
||||
readDataInterval = 60;
|
||||
}
|
||||
|
||||
logger.debug("Data table request interval {} seconds, Request in {} seconds", readDataInterval, initialDelay);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user