Skip to content

Commit 7cb4891

Browse files
Add comment and remove unused imports
1 parent 3751d62 commit 7cb4891

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/DetectionRule.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
import org.elasticsearch.xpack.core.ml.utils.ExceptionsHelper;
1919

2020
import java.io.IOException;
21-
import java.util.ArrayList;
2221
import java.util.Arrays;
2322
import java.util.Collections;
2423
import java.util.EnumMap;

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/config/Operator.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212

1313
import java.io.IOException;
1414
import java.util.Locale;
15-
import java.util.regex.Matcher;
16-
import java.util.regex.Pattern;
1715

1816
/**
1917
* Enum representing logical comparisons on doubles

x-pack/qa/rolling-upgrade/src/test/resources/rest-api-spec/test/old_cluster/30_ml_jobs_crud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175

176176
- skip:
177177
version: " - 6.1.99"
178-
reason: "Rules replaced by custom_rules on 6.4.0"
178+
reason: "This creates a job with the same name as the rules job to ensure that job is not missing in the upgraded cluster; also some of the rule fields were deprecated in 6.2 so we using the dummy from 6.2 onwards"
179179

180180
- do:
181181
xpack.ml.put_job:

0 commit comments

Comments
 (0)