diff --git a/libs/x-content/src/main/java/org/elasticsearch/common/xcontent/XContentBuilder.java b/libs/x-content/src/main/java/org/elasticsearch/common/xcontent/XContentBuilder.java index 2dfa940ec701b..a32ace4c1cae7 100644 --- a/libs/x-content/src/main/java/org/elasticsearch/common/xcontent/XContentBuilder.java +++ b/libs/x-content/src/main/java/org/elasticsearch/common/xcontent/XContentBuilder.java @@ -80,7 +80,6 @@ public static XContentBuilder builder(XContent xContent, RestApiVersion restApiV * The builder uses an internal {@link ByteArrayOutputStream} output stream to build the content. When both exclusive and * inclusive filters are provided, the underlying builder will first use exclusion filters to remove fields and then will check the * remaining fields against the inclusive filters. - *

* * @param xContentType the {@link XContentType} * @param includes the inclusive filters: only fields and objects that match the inclusive filters will be written to the output. diff --git a/modules/lang-painless/src/main/java/org/elasticsearch/painless/Def.java b/modules/lang-painless/src/main/java/org/elasticsearch/painless/Def.java index 9f22dda4e1f4d..d1a97d42bcb79 100644 --- a/modules/lang-painless/src/main/java/org/elasticsearch/painless/Def.java +++ b/modules/lang-painless/src/main/java/org/elasticsearch/painless/Def.java @@ -169,7 +169,7 @@ static MethodHandle arrayLengthGetter(Class arrayType) { * This method traverses {@code recieverClass}'s class hierarchy (including interfaces) * until it finds a matching whitelisted method. If one is not found, it throws an exception. * Otherwise it returns a handle to the matching method. - *

+ * * @param painlessLookup the whitelist * @param functions user defined functions and lambdas * @param constants available constants to be used if the method has the {@code InjectConstantAnnotation} @@ -373,7 +373,7 @@ private static MethodHandle lookupReferenceInternal( * This method traverses {@code recieverClass}'s class hierarchy (including interfaces) * until it finds a matching whitelisted getter. If one is not found, it throws an exception. * Otherwise it returns a handle to the matching getter. - *

+ * * @param painlessLookup the whitelist * @param receiverClass Class of the object to retrieve the field from. * @param name Name of the field. @@ -429,7 +429,7 @@ static MethodHandle lookupGetter(PainlessLookup painlessLookup, Class receive * This method traverses {@code recieverClass}'s class hierarchy (including interfaces) * until it finds a matching whitelisted setter. If one is not found, it throws an exception. * Otherwise it returns a handle to the matching setter. - *

+ * * @param painlessLookup the whitelist * @param receiverClass Class of the object to retrieve the field from. * @param name Name of the field. diff --git a/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java b/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java index 4e8fb5fc76bcc..6d88e7084394d 100644 --- a/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java +++ b/plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java @@ -35,7 +35,6 @@ * padding is indistinguishable from valid information. To overcome this * problem, a char is appended, indicating the number of encoded bytes in the * final content char. - *

* * @deprecated Implement {@link TermToBytesRefAttribute} and store bytes directly * instead. This class WAS removed in Lucene 5.0 diff --git a/server/src/main/java/org/elasticsearch/common/network/NetworkModule.java b/server/src/main/java/org/elasticsearch/common/network/NetworkModule.java index 6451a0e1385b0..d3c8bdc6e2aa5 100644 --- a/server/src/main/java/org/elasticsearch/common/network/NetworkModule.java +++ b/server/src/main/java/org/elasticsearch/common/network/NetworkModule.java @@ -142,7 +142,7 @@ private void registerHttpTransport(String key, Supplier fac // this lives here instead of the more aptly named ClusterModule because it used to be used by the Transport client /** * Register an allocation command. - *

+ * * @param reader the reader to read it from a stream * @param parser the parser to read it from XContent * @param commandName the names under which the command should be parsed. The {@link ParseField#getPreferredName()} is special because diff --git a/server/src/main/java/org/elasticsearch/plugins/Plugin.java b/server/src/main/java/org/elasticsearch/plugins/Plugin.java index f39d628721f02..0457529561a1f 100644 --- a/server/src/main/java/org/elasticsearch/plugins/Plugin.java +++ b/server/src/main/java/org/elasticsearch/plugins/Plugin.java @@ -144,7 +144,7 @@ public List> getSettingUpgraders() { *

* The order of the template upgrader calls is undefined and can change between runs so, it is expected that * plugins will modify only templates owned by them to avoid conflicts. - *

+ * * @return Never {@code null}. The same or upgraded {@code IndexTemplateMetadata} map. * @throws IllegalStateException if the node should not start because at least one {@code IndexTemplateMetadata} * cannot be upgraded diff --git a/server/src/main/java/org/elasticsearch/script/AggregationScript.java b/server/src/main/java/org/elasticsearch/script/AggregationScript.java index d904863f67875..d4f2a4ebb254d 100644 --- a/server/src/main/java/org/elasticsearch/script/AggregationScript.java +++ b/server/src/main/java/org/elasticsearch/script/AggregationScript.java @@ -84,7 +84,7 @@ public void setScorer(Scorable scorer) { *

* The default implementation just calls {@code setNextVar("_value", value)} but * some engines might want to handle this differently for better performance. - *

+ * * @param value per-document value, typically a String, Long, or Double */ public void setNextAggregationValue(Object value) { diff --git a/server/src/main/java/org/elasticsearch/script/StringFieldScript.java b/server/src/main/java/org/elasticsearch/script/StringFieldScript.java index 14fecf6753b3e..112193e8a74f1 100644 --- a/server/src/main/java/org/elasticsearch/script/StringFieldScript.java +++ b/server/src/main/java/org/elasticsearch/script/StringFieldScript.java @@ -80,7 +80,7 @@ public StringFieldScript(String fieldName, Map params, SearchLoo /** * Execute the script for the provided {@code docId}. - *

+ * * @return a mutable {@link List} that contains the results of the script * and will be modified the next time you call {@linkplain #resultsForDoc}. */ diff --git a/test/framework/src/main/java/org/elasticsearch/search/aggregations/AggregatorTestCase.java b/test/framework/src/main/java/org/elasticsearch/search/aggregations/AggregatorTestCase.java index 5d3db445a0629..0a0fe066677a4 100644 --- a/test/framework/src/main/java/org/elasticsearch/search/aggregations/AggregatorTestCase.java +++ b/test/framework/src/main/java/org/elasticsearch/search/aggregations/AggregatorTestCase.java @@ -430,7 +430,7 @@ protected A searchAndReduc /** * Collects all documents that match the provided query {@link Query} and * returns the reduced {@link InternalAggregation}. - *

+ * * @param splitLeavesIntoSeparateAggregators If true this creates a new {@link Aggregator} * for each leaf as though it were a separate index. If false this aggregates * all leaves together, like we do in production. diff --git a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosTicketValidator.java b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosTicketValidator.java index f04c240f390bf..625d32dfffffa 100644 --- a/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosTicketValidator.java +++ b/x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosTicketValidator.java @@ -127,7 +127,6 @@ private String encodeToString(final byte[] outToken) { * Handles GSS context establishment. Received token is passed to the GSSContext * on acceptor side and returns with out token that needs to be sent to peer for * further GSS context establishment. - *

* * @param base64decodedTicket in token generated by peer * @param gssContext instance of acceptor {@link GSSContext}