We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ac17c commit c5f7738Copy full SHA for c5f7738
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/scheduler/SchedulerEngine.java
@@ -18,6 +18,7 @@
18
import java.time.Clock;
19
import java.util.Collection;
20
import java.util.Collections;
21
+import java.util.HashSet;
22
import java.util.List;
23
import java.util.Map;
24
import java.util.Objects;
@@ -139,7 +140,7 @@ public void stop() {
139
140
}
141
142
public Set<String> scheduledJobIds() {
- return Collections.unmodifiableSet(schedules.keySet());
143
+ return Collections.unmodifiableSet(new HashSet<>(schedules.keySet()));
144
145
146
public void add(Job job) {
0 commit comments