소스 검색

Remove HTML start element at end of body (#77563)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Chris Hegarty 4 년 전
부모
커밋
c49f33db45

+ 0 - 1
libs/x-content/src/main/java/org/elasticsearch/common/xcontent/XContentBuilder.java

@@ -80,7 +80,6 @@ public final class XContentBuilder implements Closeable, Flushable {
      * 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.
-     * <p>
      *
      * @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.

+ 3 - 3
modules/lang-painless/src/main/java/org/elasticsearch/painless/Def.java

@@ -169,7 +169,7 @@ public final class Def {
      * 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.
-     * <p>
+     *
      * @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 @@ public final class Def {
      * 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.
-     * <p>
+     *
      * @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 @@ public final class Def {
      * 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.
-     * <p>
+     *
      * @param painlessLookup the whitelist
      * @param receiverClass Class of the object to retrieve the field from.
      * @param name Name of the field.

+ 0 - 1
plugins/analysis-icu/src/main/java/org/elasticsearch/index/analysis/IndexableBinaryStringTools.java

@@ -35,7 +35,6 @@ import org.apache.lucene.analysis.tokenattributes.TermToBytesRefAttribute;
  * 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.
- * <p>
  *
  * @deprecated Implement {@link TermToBytesRefAttribute} and store bytes directly
  * instead. This class WAS removed in Lucene 5.0

+ 1 - 1
server/src/main/java/org/elasticsearch/common/network/NetworkModule.java

@@ -142,7 +142,7 @@ public final class NetworkModule {
     // this lives here instead of the more aptly named ClusterModule because it used to be used by the Transport client
     /**
      * Register an allocation command.
-     * <p>
+     *
      * @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

+ 1 - 1
server/src/main/java/org/elasticsearch/plugins/Plugin.java

@@ -144,7 +144,7 @@ public abstract class Plugin implements Closeable {
      * <p>
      * 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.
-     * <p>
+     *
      * @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

+ 1 - 1
server/src/main/java/org/elasticsearch/script/AggregationScript.java

@@ -84,7 +84,7 @@ public abstract class AggregationScript extends DocBasedScript implements Scorer
      * <p>
      * The default implementation just calls {@code setNextVar("_value", value)} but
      * some engines might want to handle this differently for better performance.
-     * <p>
+     *
      * @param value per-document value, typically a String, Long, or Double
      */
     public void setNextAggregationValue(Object value) {

+ 1 - 1
server/src/main/java/org/elasticsearch/script/StringFieldScript.java

@@ -80,7 +80,7 @@ public abstract class StringFieldScript extends AbstractFieldScript {
 
     /**
      * Execute the script for the provided {@code docId}.
-     * <p>
+     *
      * @return a mutable {@link List} that contains the results of the script
      * and will be modified the next time you call {@linkplain #resultsForDoc}.
      */

+ 1 - 1
test/framework/src/main/java/org/elasticsearch/search/aggregations/AggregatorTestCase.java

@@ -430,7 +430,7 @@ public abstract class AggregatorTestCase extends ESTestCase {
     /**
      * Collects all documents that match the provided query {@link Query} and
      * returns the reduced {@link InternalAggregation}.
-     * <p>
+     *
      * @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.

+ 0 - 1
x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authc/kerberos/KerberosTicketValidator.java

@@ -127,7 +127,6 @@ public class KerberosTicketValidator {
      * 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.
-     * <p>
      *
      * @param base64decodedTicket in token generated by peer
      * @param gssContext instance of acceptor {@link GSSContext}