Skip to content

Commit b56d0a2

Browse files
seratchDaveCTurner
authored andcommitted
Fix a variety of typos and misspelled words (elastic#32792)
1 parent 0c7de7f commit b56d0a2

File tree

100 files changed

+152
-152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+152
-152
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ have to test Elasticsearch.
286286
#### Configurations
287287

288288
Gradle organizes dependencies and build artifacts into "configurations" and
289-
allows you to use these configurations arbitrarilly. Here are some of the most
289+
allows you to use these configurations arbitrarily. Here are some of the most
290290
common configurations in our build and how we use them:
291291

292292
<dl>

TESTING.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Pass arbitrary jvm arguments.
250250

251251
Running backwards compatibility tests is disabled by default since it
252252
requires a release version of elasticsearch to be present on the test system.
253-
To run backwards compatibilty tests untar or unzip a release and run the tests
253+
To run backwards compatibility tests untar or unzip a release and run the tests
254254
with the following command:
255255

256256
---------------------------------------------------------------------------

buildSrc/src/main/groovy/org/elasticsearch/gradle/VersionCollection.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class VersionCollection {
122122
if (isReleased(version) == false) {
123123
// caveat 1 - This should only ever contain 2 non released branches in flight. An example is 6.x is frozen,
124124
// and 6.2 is cut but not yet released there is some simple logic to make sure that in the case of more than 2,
125-
// it will bail. The order is that the minor snapshot is fufilled first, and then the staged minor snapshot
125+
// it will bail. The order is that the minor snapshot is fulfilled first, and then the staged minor snapshot
126126
if (nextMinorSnapshot == null) {
127127
// it has not been set yet
128128
nextMinorSnapshot = replaceAsSnapshot(version)

buildSrc/src/main/groovy/org/elasticsearch/gradle/doc/RestTestsFromSnippetsTask.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class RestTestsFromSnippetsTask extends SnippetsTask {
7272

7373
/**
7474
* Root directory containing all the files generated by this task. It is
75-
* contained withing testRoot.
75+
* contained within testRoot.
7676
*/
7777
File outputRoot() {
7878
return new File(testRoot, '/rest-api-spec/test')

buildSrc/src/main/groovy/org/elasticsearch/gradle/test/NodeInfo.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ class NodeInfo {
348348
case 'deb':
349349
return new File(baseDir, "${distro}-extracted/etc/elasticsearch")
350350
default:
351-
throw new InvalidUserDataException("Unkown distribution: ${distro}")
351+
throw new InvalidUserDataException("Unknown distribution: ${distro}")
352352
}
353353
}
354354
}

buildSrc/src/testKit/elasticsearch-build-resources/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ task sample {
2222
// dependsOn buildResources.outputDir
2323
// for now it's just
2424
dependsOn buildResources
25-
// we have to refference it at configuration time in order to be picked up
25+
// we have to reference it at configuration time in order to be picked up
2626
ext.checkstyle_suppressions = buildResources.copy('checkstyle_suppressions.xml')
2727
doLast {
2828
println "This task is using ${file(checkstyle_suppressions)}"
@@ -35,4 +35,4 @@ task noConfigAfterExecution {
3535
println "This should cause an error because we are refferencing " +
3636
"${buildResources.copy('checkstyle_suppressions.xml')} after the `buildResources` task has ran."
3737
}
38-
}
38+
}

client/rest-high-level/src/main/java/org/elasticsearch/client/ml/job/config/Detector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public boolean isUseNull() {
215215
}
216216

217217
/**
218-
* Excludes frequently-occuring metrics from the analysis;
218+
* Excludes frequently-occurring metrics from the analysis;
219219
* can apply to 'by' field, 'over' field, or both
220220
*
221221
* @return the value that the user set

distribution/tools/launchers/src/main/java/org/elasticsearch/tools/launchers/JvmOptionsParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ static void parse(
226226
// no range is present, apply the JVM option to the specified major version only
227227
upper = lower;
228228
} else if (end == null) {
229-
// a range of the form \\d+- is present, apply the JVM option to all major versions larger than the specifed one
229+
// a range of the form \\d+- is present, apply the JVM option to all major versions larger than the specified one
230230
upper = Integer.MAX_VALUE;
231231
} else {
232232
// a range of the form \\d+-\\d+ is present, apply the JVM option to the specified range of major versions

docs/java-rest/low-level/usage.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ You can also customize the response consumer used to buffer the asynchronous
307307
responses. The default consumer will buffer up to 100MB of response on the
308308
JVM heap. If the response is larger then the request will fail. You could,
309309
for example, lower the maximum size which might be useful if you are running
310-
in a heap constrained environment like the exmaple above.
310+
in a heap constrained environment like the example above.
311311

312312
Once you've created the singleton you can use it when making requests:
313313

docs/painless/painless-api-reference.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
Painless has a strict whitelist for methods and classes to ensure all
55
painless scripts are secure. Most of these methods are exposed directly
6-
from the Java Runtime Enviroment (JRE) while others are part of
6+
from the Java Runtime Environment (JRE) while others are part of
77
Elasticsearch or Painless itself. Below is a list of all available
88
classes grouped with their respected methods. Clicking on the method
99
name takes you to the documentation for that specific method. Methods

0 commit comments

Comments
 (0)