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 4555809bad9..c893e595964 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 @@ -91,7 +91,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 {@code -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 bc870bf4dca..99322af2264 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 @@ -59,7 +59,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 {@code -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 70f9667ce7b..0485d4f5855 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 class SignificantTermsAggregatorTests 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 {@code -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 c63d5cb7d39..dbff6daed62 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 @@ import static org.elasticsearch.search.aggregations.AggregationBuilders.signific 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 {@code -alias}. */ @Override protected Map getFieldAliases(MappedFieldType... fieldTypes) {