diff --git a/libs/core/src/main/java/org/opensearch/semver/SemverRange.java b/libs/core/src/main/java/org/opensearch/semver/SemverRange.java index b04134893b334..da87acc7124aa 100644 --- a/libs/core/src/main/java/org/opensearch/semver/SemverRange.java +++ b/libs/core/src/main/java/org/opensearch/semver/SemverRange.java @@ -24,7 +24,13 @@ import static java.util.Arrays.stream; /** - * Represents a single semver range. + * Represents a single semver range that allows for specifying which {@code org.opensearch.Version}s satisfy the range. + * It is composed of a range version and a range operator. Following are the supported operators: + * */ public class SemverRange implements ToXContentFragment { diff --git a/qa/mixed-cluster/src/test/java/org/opensearch/backwards/PluginInfoIT.java b/qa/mixed-cluster/src/test/java/org/opensearch/backwards/PluginInfoIT.java index ad4ba49f09967..08169068d1a61 100644 --- a/qa/mixed-cluster/src/test/java/org/opensearch/backwards/PluginInfoIT.java +++ b/qa/mixed-cluster/src/test/java/org/opensearch/backwards/PluginInfoIT.java @@ -8,17 +8,11 @@ package org.opensearch.backwards; -import org.opensearch.Version; import org.opensearch.client.Request; import org.opensearch.client.Response; -import org.opensearch.cluster.metadata.IndexMetadata; -import org.opensearch.common.settings.Settings; - import org.opensearch.test.rest.OpenSearchRestTestCase; import org.opensearch.test.rest.yaml.ObjectPath; -import java.util.ArrayList; -import java.util.List; import java.util.Map; public class PluginInfoIT extends OpenSearchRestTestCase {