From d11411388ee6476e7ddf46e92ffe769aaf01b443 Mon Sep 17 00:00:00 2001 From: Tom Winterhalder Date: Tue, 29 Nov 2022 17:23:45 +0100 Subject: [PATCH] fixed minor typo --- src/main/java/org/openhab/automation/jrule/rules/JRule.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/openhab/automation/jrule/rules/JRule.java b/src/main/java/org/openhab/automation/jrule/rules/JRule.java index c86ca96e..7f8351de 100644 --- a/src/main/java/org/openhab/automation/jrule/rules/JRule.java +++ b/src/main/java/org/openhab/automation/jrule/rules/JRule.java @@ -127,8 +127,8 @@ protected synchronized CompletableFuture createTimer(String timerName, lon return future.thenAccept(s -> { try { JRule.JRULE_EXECUTION_CONTEXT.set(context); - JRuleLog.info(logger, context.getLogName(), "Timer has finsihed"); - JRuleLog.debug(logger, context.getLogName(), "Timer has finsihed hashCode: {}", future.hashCode()); + JRuleLog.info(logger, context.getLogName(), "Timer has finished"); + JRuleLog.debug(logger, context.getLogName(), "Timer has finished hashCode: {}", future.hashCode()); timerNameToTimerFuture.remove(timerName); fn.accept(null); } finally { @@ -210,7 +210,7 @@ protected synchronized List> createRepeatingTimer(String JRULE_EXECUTION_CONTEXT.remove(); } - JRuleLog.info(logger, context.getLogName(), "Repeating Timer has finsihed"); + JRuleLog.info(logger, context.getLogName(), "Repeating Timer has finished"); List> finishedList = timerNameToTimerFutureList.remove(timerName); if (finishedList != null) { finishedList.clear();