Yet another the the cleanup ()

This commit is contained in:
Christoph Büscher 2019-07-01 16:25:40 +02:00
parent eb0c7196cb
commit fe3f9f0c6b
7 changed files with 8 additions and 8 deletions
docs/reference/sql/functions
server/src
main/java/org/elasticsearch/action/bulk
test/java/org/elasticsearch
x-pack/plugin
ml/src/test/java/org/elasticsearch/xpack/ml/job
security/src/main/java/org/elasticsearch/xpack/security/authc/oidc

@ -147,7 +147,7 @@ ST_Y(
.Description:
Returns the the latitude of the first point in the geometry.
Returns the latitude of the first point in the geometry.
["source","sql",subs="attributes,macros"]
--------------------------------------------------
@ -206,4 +206,4 @@ Returns the distance between geometries in meters. Both geometries have to be po
["source","sql",subs="attributes,macros"]
--------------------------------------------------
include-tagged::{sql-specs}/docs/geo.csv-spec[distance]
--------------------------------------------------
--------------------------------------------------

@ -174,7 +174,7 @@ public class TransportBulkAction extends HandledTransportAction<BulkRequest, Bul
}
}
if (indexMetaData != null) {
// Find the the default pipeline if one is defined from and existing index.
// Find the default pipeline if one is defined from and existing index.
String defaultPipeline = IndexSettings.DEFAULT_PIPELINE.get(indexMetaData.getSettings());
indexRequest.setPipeline(defaultPipeline);
if (IngestService.NOOP_PIPELINE_NAME.equals(defaultPipeline) == false) {

@ -75,7 +75,7 @@ public class CreateSnapshotResponseTests extends AbstractXContentTestCase<Create
// Don't inject random fields into the custom snapshot metadata, because the metadata map is equality-checked after doing a
// round-trip through xContent serialization/deserialization. Even though the rest of the object ignores unknown fields,
// `metadata` doesn't ignore unknown fields (it just includes them in the parsed object, because the keys are arbitrary), so any
// new fields added to the the metadata before it gets deserialized that weren't in the serialized version will cause the equality
// new fields added to the metadata before it gets deserialized that weren't in the serialized version will cause the equality
// check to fail.
return field -> field.startsWith("snapshot.metadata");
}

@ -68,7 +68,7 @@ public class GetSnapshotsResponseTests extends AbstractStreamableXContentTestCas
// Don't inject random fields into the custom snapshot metadata, because the metadata map is equality-checked after doing a
// round-trip through xContent serialization/deserialization. Even though the rest of the object ignores unknown fields,
// `metadata` doesn't ignore unknown fields (it just includes them in the parsed object, because the keys are arbitrary), so any
// new fields added to the the metadata before it gets deserialized that weren't in the serialized version will cause the equality
// new fields added to the metadata before it gets deserialized that weren't in the serialized version will cause the equality
// check to fail.
// The actual fields are nested in an array, so this regex matches fields with names of the form `snapshots.3.metadata`

@ -84,7 +84,7 @@ public class GlobalCheckpointSyncIT extends ESIntegTestCase {
}
public void testPostOperationGlobalCheckpointSync() throws Exception {
// set the sync interval high so it does not execute during this test. This only allows the the global checkpoint to catch up
// set the sync interval high so it does not execute during this test. This only allows the global checkpoint to catch up
// on a post-operation background sync if translog durability is set to sync. Async durability relies on a scheduled global
// checkpoint sync to allow the information about persisted local checkpoints to be transferred to the primary.
runGlobalCheckpointSyncTest(TimeValue.timeValueHours(24),

@ -47,7 +47,7 @@ import static org.mockito.Mockito.when;
// TODO: in 8.0.0 remove all instances of MAX_OPEN_JOBS_NODE_ATTR from this file
public class JobNodeSelectorTests extends ESTestCase {
// To simplify the the logic in this class all jobs have the same memory requirement
// To simplify the logic in this class all jobs have the same memory requirement
private static final ByteSizeValue JOB_MEMORY_REQUIREMENT = new ByteSizeValue(10, ByteSizeUnit.MB);
private MlMemoryTracker memoryTracker;

@ -626,7 +626,7 @@ public class OpenIdConnectAuthenticator {
* necessary as some OPs return slightly different values for some claims (i.e. Google for the profile picture) and
* {@link JSONObject#merge(Object)} would throw a runtime exception. The merging is performed based on the following rules:
* <ul>
* <li>If the values for a given claim are primitives (of the the same type), the value from the ID Token is retained</li>
* <li>If the values for a given claim are primitives (of the same type), the value from the ID Token is retained</li>
* <li>If the values for a given claim are Objects, the values are merged</li>
* <li>If the values for a given claim are Arrays, the values are merged without removing duplicates</li>
* <li>If the values for a given claim are of different types, an exception is thrown</li>