diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/internal/scheduler/CronSchedulerImpl.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/internal/scheduler/CronSchedulerImpl.java index addd24d6bc9..83fd5934934 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/internal/scheduler/CronSchedulerImpl.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/internal/scheduler/CronSchedulerImpl.java @@ -107,7 +107,7 @@ void removeSchedule(CronJob s) { for (Iterator cron = crons.iterator(); cron.hasNext();) { final Cron c = cron.next(); - if (c.target == s) { + if (c.target.equals(s)) { cron.remove(); c.schedule.cancel(true); } diff --git a/bundles/pom.xml b/bundles/pom.xml index 92b8cca3683..59da5879650 100644 --- a/bundles/pom.xml +++ b/bundles/pom.xml @@ -276,6 +276,10 @@ model.profile-marker + + + 17 + org.openhab.core.bom diff --git a/pom.xml b/pom.xml index d8814e8d0be..51d4f6ace0b 100644 --- a/pom.xml +++ b/pom.xml @@ -64,17 +64,14 @@ UTF-8 UTF-8 - 17 - ${oh.java.version} - ${oh.java.version} - ${oh.java.version} + 17 7.0.0 3.7.2 2.3.0 4.4.5 4.4.5 - 0.15.0 + 0.16.0 2.0.7 2.34.0 2.38.0 @@ -670,7 +667,7 @@ Import-Package: \\ - [17.0,18.0) + [17.0,18.0),[21.0,22.0) @@ -845,5 +842,11 @@ Import-Package: \\ + + j21 + + 21 + +