Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed minor typo #98

Merged
merged 1 commit into from
Nov 29, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/main/java/org/openhab/automation/jrule/rules/JRule.java
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ protected synchronized CompletableFuture<Void> 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 {
Expand Down Expand Up @@ -210,7 +210,7 @@ protected synchronized List<CompletableFuture<Void>> 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<CompletableFuture<Void>> finishedList = timerNameToTimerFutureList.remove(timerName);
if (finishedList != null) {
finishedList.clear();
Expand Down