@@ -1352,7 +1352,7 @@ public void indexRandom(boolean forceRefresh, boolean dummyDocuments, IndexReque
13521352 * segment or if only one document is in a segment etc. This method prevents issues like this by randomizing the index
13531353 * layout.
13541354 *
1355- * @param forceRefresh if <tt> true</tt> all involved indices are refreshed once the documents are indexed. Additionally if <tt> true</tt>
1355+ * @param forceRefresh if {@code true} all involved indices are refreshed once the documents are indexed. Additionally if {@code true}
13561356 * some empty dummy documents are may be randomly inserted into the document list and deleted once all documents are indexed.
13571357 * This is useful to produce deleted documents on the server side.
13581358 * @param builders the documents to index.
@@ -1369,8 +1369,8 @@ public void indexRandom(boolean forceRefresh, List<IndexRequestBuilder> builders
13691369 * segment or if only one document is in a segment etc. This method prevents issues like this by randomizing the index
13701370 * layout.
13711371 *
1372- * @param forceRefresh if <tt> true</tt> all involved indices are refreshed once the documents are indexed.
1373- * @param dummyDocuments if <tt> true</tt> some empty dummy documents may be randomly inserted into the document list and deleted once
1372+ * @param forceRefresh if {@code true} all involved indices are refreshed once the documents are indexed.
1373+ * @param dummyDocuments if {@code true} some empty dummy documents may be randomly inserted into the document list and deleted once
13741374 * all documents are indexed. This is useful to produce deleted documents on the server side.
13751375 * @param builders the documents to index.
13761376 */
@@ -1385,10 +1385,10 @@ public void indexRandom(boolean forceRefresh, boolean dummyDocuments, List<Index
13851385 * segment or if only one document is in a segment etc. This method prevents issues like this by randomizing the index
13861386 * layout.
13871387 *
1388- * @param forceRefresh if <tt> true</tt> all involved indices are refreshed once the documents are indexed.
1389- * @param dummyDocuments if <tt> true</tt> some empty dummy documents may be randomly inserted into the document list and deleted once
1388+ * @param forceRefresh if {@code true} all involved indices are refreshed once the documents are indexed.
1389+ * @param dummyDocuments if {@code true} some empty dummy documents may be randomly inserted into the document list and deleted once
13901390 * all documents are indexed. This is useful to produce deleted documents on the server side.
1391- * @param maybeFlush if <tt> true</tt> this method may randomly execute full flushes after index operations.
1391+ * @param maybeFlush if {@code true} this method may randomly execute full flushes after index operations.
13921392 * @param builders the documents to index.
13931393 */
13941394 public void indexRandom (boolean forceRefresh , boolean dummyDocuments , boolean maybeFlush , List <IndexRequestBuilder > builders ) throws InterruptedException , ExecutionException {
@@ -1554,27 +1554,27 @@ public enum Scope {
15541554 Scope scope () default Scope .SUITE ;
15551555
15561556 /**
1557- * Returns the number of nodes in the cluster. Default is <tt>-1</tt> which means
1557+ * Returns the number of nodes in the cluster. Default is {@code -1} which means
15581558 * a random number of nodes is used, where the minimum and maximum number of nodes
15591559 * are either the specified ones or the default ones if not specified.
15601560 */
15611561 int numDataNodes () default -1 ;
15621562
15631563 /**
1564- * Returns the minimum number of data nodes in the cluster. Default is <tt>-1</tt> .
1564+ * Returns the minimum number of data nodes in the cluster. Default is {@code -1} .
15651565 * Ignored when {@link ClusterScope#numDataNodes()} is set.
15661566 */
15671567 int minNumDataNodes () default -1 ;
15681568
15691569 /**
1570- * Returns the maximum number of data nodes in the cluster. Default is <tt>-1</tt> .
1570+ * Returns the maximum number of data nodes in the cluster. Default is {@code -1} .
15711571 * Ignored when {@link ClusterScope#numDataNodes()} is set.
15721572 */
15731573 int maxNumDataNodes () default -1 ;
15741574
15751575 /**
1576- * Indicates whether the cluster can have dedicated master nodes. If <tt> false</tt> means data nodes will serve as master nodes
1577- * and there will be no dedicated master (and data) nodes. Default is <tt>true</tt> which means
1576+ * Indicates whether the cluster can have dedicated master nodes. If {@code false} means data nodes will serve as master nodes
1577+ * and there will be no dedicated master (and data) nodes. Default is {@code false} which means
15781578 * dedicated master nodes will be randomly used.
15791579 */
15801580 boolean supportsDedicatedMasters () default true ;
@@ -1703,7 +1703,7 @@ private int getNumClientNodes() {
17031703 }
17041704
17051705 /**
1706- * This method is used to obtain settings for the <tt>Nth</tt> node in the cluster.
1706+ * This method is used to obtain settings for the {@code N}th node in the cluster.
17071707 * Nodes in this cluster are associated with an ordinal number such that nodes can
17081708 * be started with specific configurations. This method might be called multiple
17091709 * times with the same ordinal and is expected to return the same value for each invocation.
@@ -1878,15 +1878,15 @@ public Collection<Class<? extends Plugin>> transportClientPlugins() {
18781878
18791879 /**
18801880 * Iff this returns true mock transport implementations are used for the test runs. Otherwise not mock transport impls are used.
1881- * The default is <tt> true</tt>
1881+ * The default is {@code true}.
18821882 */
18831883 protected boolean addMockTransportService () {
18841884 return true ;
18851885 }
18861886
18871887 /**
18881888 * Iff this returns true test zen discovery implementations is used for the test runs.
1889- * The default is <tt> true</tt>
1889+ * The default is {@code true}.
18901890 */
18911891 protected boolean addTestZenDiscovery () {
18921892 return true ;
@@ -1957,7 +1957,7 @@ private static double transportClientRatio() {
19571957 /**
19581958 * Returns the transport client ratio from the class level annotation or via
19591959 * {@link System#getProperty(String)} if available. If both are not available this will
1960- * return a random ratio in the interval <tt> [0..1]</tt>
1960+ * return a random ratio in the interval {@code [0..1]}.
19611961 */
19621962 protected double getPerTestTransportClientRatio () {
19631963 final ClusterScope annotation = getAnnotation (this .getClass (), ClusterScope .class );
0 commit comments