diff --git a/plugins/repository-s3/src/test/java/org/elasticsearch/repositories/s3/AmazonS3Fixture.java b/plugins/repository-s3/src/test/java/org/elasticsearch/repositories/s3/AmazonS3Fixture.java index a08b36423056a..0eb175f0585be 100644 --- a/plugins/repository-s3/src/test/java/org/elasticsearch/repositories/s3/AmazonS3Fixture.java +++ b/plugins/repository-s3/src/test/java/org/elasticsearch/repositories/s3/AmazonS3Fixture.java @@ -473,7 +473,7 @@ private static List objectsPaths(final String path) { } /** - * Retrieves the object name from all derives paths named {pathX} where 0 <= X < 10. + * Retrieves the object name from all derives paths named {pathX} where X is between 0 and 9 inclusive. * * This is the counterpart of {@link #objectsPaths(String)} */ diff --git a/server/src/test/java/org/elasticsearch/common/xcontent/BaseXContentTestCase.java b/server/src/test/java/org/elasticsearch/common/xcontent/BaseXContentTestCase.java index 8e545c863ba1f..9179998947795 100644 --- a/server/src/test/java/org/elasticsearch/common/xcontent/BaseXContentTestCase.java +++ b/server/src/test/java/org/elasticsearch/common/xcontent/BaseXContentTestCase.java @@ -976,7 +976,7 @@ public void testEnsureNoSelfReferences() throws IOException { /** * Test that the same map written multiple times do not trigger the self-reference check in - * {@link CollectionUtils#ensureNoSelfReferences(Object, String)} (Object)} + * {@link CollectionUtils#ensureNoSelfReferences(Object)} (Object)} */ public void testRepeatedMapsAndNoSelfReferences() throws Exception { Map mapB = singletonMap("b", "B"); diff --git a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/NestedAggregatorTests.java b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/NestedAggregatorTests.java index 76bbb37c43ad7..74c9f1c960096 100644 --- a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/NestedAggregatorTests.java +++ b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/NestedAggregatorTests.java @@ -92,7 +92,7 @@ public class NestedAggregatorTests extends AggregatorTestCase { private final SeqNoFieldMapper.SequenceIDFields sequenceIDFields = SeqNoFieldMapper.SequenceIDFields.emptySeqID(); /** - * For each provided field type, we also register an alias with name -alias. + * For each provided field type, we also register an alias with name field-alias. */ @Override protected Map getFieldAliases(MappedFieldType... fieldTypes) { diff --git a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/ReverseNestedAggregatorTests.java b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/ReverseNestedAggregatorTests.java index 8b0177cc5e33d..01b06aeee024a 100644 --- a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/ReverseNestedAggregatorTests.java +++ b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/nested/ReverseNestedAggregatorTests.java @@ -60,7 +60,7 @@ public class ReverseNestedAggregatorTests extends AggregatorTestCase { private static final String MAX_AGG_NAME = "maxAgg"; /** - * For each provided field type, we also register an alias with name -alias. + * For each provided field type, we also register an alias with name field-alias. */ @Override protected Map getFieldAliases(MappedFieldType... fieldTypes) { diff --git a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTermsAggregatorTests.java b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTermsAggregatorTests.java index 70f9667ce7baf..f6c6cfafe3c85 100644 --- a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTermsAggregatorTests.java +++ b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTermsAggregatorTests.java @@ -77,7 +77,7 @@ public void setUpTest() throws Exception { } /** - * For each provided field type, we also register an alias with name -alias. + * For each provided field type, we also register an alias with name field-alias. */ @Override protected Map getFieldAliases(MappedFieldType... fieldTypes) { diff --git a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTextAggregatorTests.java b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTextAggregatorTests.java index c63d5cb7d3906..d5f53ce75833d 100644 --- a/server/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTextAggregatorTests.java +++ b/server/src/test/java/org/elasticsearch/search/aggregations/bucket/significant/SignificantTextAggregatorTests.java @@ -53,7 +53,7 @@ public class SignificantTextAggregatorTests extends AggregatorTestCase { /** - * For each provided field type, we also register an alias with name -alias. + * For each provided field type, we also register an alias with name field-alias. */ @Override protected Map getFieldAliases(MappedFieldType... fieldTypes) { diff --git a/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java index d35e7ab0b0c08..d6b2e321d6c8b 100644 --- a/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java +++ b/x-pack/qa/third-party/active-directory/src/test/java/org/elasticsearch/xpack/security/authc/ldap/AbstractAdLdapRealmTestCase.java @@ -318,8 +318,6 @@ private void addSslSettingsForKeyPair(Settings.Builder builder, Path key, String /** * Collects all the certificates that are normally trusted by the node ( contained in testnode.jks ) - * - * @return */ List getNodeTrustedCertificates() { Path testnodeCert =