Skip to content
Closed

Spelling #37035

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
352 commits
Select commit Hold shift + click to select a range
6a22d58
spelling: easily
jsoref Dec 28, 2018
6ee7dc2
spelling: eligible
jsoref Dec 28, 2018
e09efcd
spelling: emptiness
jsoref Dec 28, 2018
cf0e999
spelling: empty
jsoref Dec 28, 2018
cb2e8cd
spelling: enable
jsoref Dec 28, 2018
14523b1
spelling: encrypted
jsoref Dec 28, 2018
2098bc9
spelling: enqueued
jsoref Dec 28, 2018
c503ccd
spelling: enqueuing
jsoref Dec 28, 2018
277d181
spelling: everything
jsoref Dec 28, 2018
c61c705
spelling: everywhere
jsoref Dec 28, 2018
71a2d1a
spelling: exception
jsoref Dec 28, 2018
c5252f2
spelling: excluding
jsoref Dec 28, 2018
55d6768
spelling: executable
jsoref Dec 28, 2018
be81119
spelling: execute
jsoref Dec 28, 2018
03f29b8
spelling: execution
jsoref Dec 28, 2018
dd9845c
spelling: executions
jsoref Dec 28, 2018
8b4f1fd
spelling: expectation
jsoref Dec 28, 2018
7c14188
spelling: expected
jsoref Dec 30, 2018
a84ea15
spelling: expander
jsoref Dec 30, 2018
89dab44
spelling: expect
jsoref Dec 30, 2018
fea7485
spelling: explicit
jsoref Dec 30, 2018
4b0afcd
spelling: explicitly
jsoref Dec 30, 2018
5aea753
spelling: expression
jsoref Dec 30, 2018
89ca3a0
spelling: extract
jsoref Dec 30, 2018
f9ec9a8
spelling: extractor
jsoref Dec 30, 2018
8f97408
spelling: failure
jsoref Dec 30, 2018
135dcfd
spelling: falls-back
jsoref Dec 30, 2018
5f28720
spelling: fallthrough
jsoref Dec 30, 2018
bb6e3cd
spelling: field
jsoref Dec 30, 2018
5fba568
spelling: first
jsoref Dec 30, 2018
d05981b
spelling: folded
jsoref Dec 30, 2018
37ef862
spelling: forbidden
jsoref Dec 30, 2018
3a9e401
spelling: force
jsoref Dec 30, 2018
cf95528
spelling: forecast
jsoref Dec 30, 2018
188a48a
spelling: format
jsoref Dec 30, 2018
4c55adb
spelling: frequency
jsoref Dec 30, 2018
e8020de
spelling: function
jsoref Dec 30, 2018
552d425
spelling: fuzziness
jsoref Dec 30, 2018
454601d
spelling: given
jsoref Dec 30, 2018
d9cfb3c
spelling: groovy
jsoref Dec 30, 2018
ab4fdf3
spelling: grouped
jsoref Dec 30, 2018
b06a33f
spelling: guarantee
jsoref Dec 30, 2018
b930297
spelling: guarded
jsoref Dec 30, 2018
41c4af2
spelling: handler
jsoref Dec 30, 2018
8fd5781
spelling: height
jsoref Dec 30, 2018
b8b5364
spelling: highest
jsoref Dec 30, 2018
0486e8e
spelling: highlight
jsoref Dec 30, 2018
dcc19b5
spelling: highlighted
jsoref Dec 30, 2018
46e080c
spelling: identity
jsoref Dec 30, 2018
6001ed3
spelling: implementers
jsoref Dec 30, 2018
7b5a1f9
spelling: indices
jsoref Dec 30, 2018
0a1a05f
spelling: information
jsoref Dec 30, 2018
bba4938
spelling: ignore
jsoref Dec 30, 2018
e15c9a5
spelling: illustrative
jsoref Dec 30, 2018
c680134
spelling: initial
jsoref Dec 30, 2018
66bd442
spelling: initialize
jsoref Dec 30, 2018
5e998e6
spelling: initialise
jsoref Dec 30, 2018
1ef226b
spelling: initialization
jsoref Dec 30, 2018
8560a79
spelling: injector
jsoref Dec 30, 2018
420a84d
spelling: input
jsoref Dec 30, 2018
0614e10
spelling: installation
jsoref Dec 30, 2018
0062468
spelling: instantiated
jsoref Dec 30, 2018
26ec3b8
spelling: interactions
jsoref Dec 30, 2018
dc4075b
spelling: interceptors
jsoref Dec 30, 2018
c6f211e
spelling: internal
jsoref Dec 30, 2018
bc0e44e
spelling: integer
jsoref Dec 30, 2018
5619fee
spelling: integration
jsoref Dec 30, 2018
6b189d1
spelling: interruptible
jsoref Dec 30, 2018
ef6de17
spelling: interval
jsoref Dec 30, 2018
2a7ccf5
spelling: initialized
jsoref Dec 30, 2018
f929ef3
spelling: initializing
jsoref Dec 30, 2018
f49803c
spelling: it's
jsoref Dec 30, 2018
bbe483b
spelling: either
jsoref Dec 30, 2018
874383d
spelling: elasticsearch
jsoref Dec 28, 2018
e8e389c
spelling: invalid
jsoref Dec 30, 2018
b599f91
spelling: irascible
jsoref Dec 30, 2018
5f202c9
spelling: javascript
jsoref Dec 30, 2018
2d15c32
spelling: kerberos
jsoref Dec 30, 2018
b74ff62
spelling: kernel
jsoref Dec 30, 2018
9a629bc
spelling: lambda
jsoref Dec 30, 2018
ff8c51a
spelling: latest
jsoref Dec 30, 2018
59b31a9
spelling: length
jsoref Dec 30, 2018
e842fc2
spelling: lenient
jsoref Dec 30, 2018
50c8e56
spelling: license
jsoref Dec 30, 2018
abc02dc
spelling: likelihood
jsoref Dec 30, 2018
adad2a6
spelling: listed
jsoref Dec 30, 2018
950cc5d
spelling: listener
jsoref Dec 30, 2018
a8e59c5
spelling: listeners
jsoref Dec 30, 2018
d59522d
spelling: location
jsoref Dec 30, 2018
4c908d8
spelling: logging
jsoref Dec 30, 2018
5167cf2
spelling: luckily
jsoref Dec 30, 2018
178b9ab
spelling: management
jsoref Dec 30, 2018
7e6b6b3
spelling: mapping
jsoref Dec 30, 2018
c93d3cb
spelling: master
jsoref Dec 30, 2018
f608df1
spelling: mergable
jsoref Dec 30, 2018
57720c2
spelling: messages
jsoref Dec 30, 2018
b72aa6a
spelling: metadata
jsoref Dec 30, 2018
13226f2
spelling: minimal
jsoref Dec 30, 2018
ce7f88d
spelling: minimum
jsoref Dec 30, 2018
36d12d7
spelling: mismatch
jsoref Dec 30, 2018
d34bacb
spelling: misspellings
jsoref Dec 30, 2018
1671334
spelling: multiple
jsoref Dec 30, 2018
86fa0ed
spelling: native
jsoref Dec 30, 2018
0448f50
spelling: negative
jsoref Dec 30, 2018
a3d8c2c
spelling: neither
jsoref Dec 30, 2018
dd33331
spelling: nonexistent
jsoref Dec 30, 2018
2034e6c
spelling: normalized
jsoref Dec 30, 2018
85c057a
spelling: notified
jsoref Dec 30, 2018
462e3cd
spelling: object
jsoref Dec 30, 2018
c8deb1e
spelling: oniguruma
jsoref Dec 30, 2018
dc09358
spelling: operation
jsoref Dec 30, 2018
3b62362
spelling: opposing
jsoref Dec 30, 2018
b37d8b7
spelling: obtain
jsoref Dec 30, 2018
4bc0c99
spelling: occurrences
jsoref Dec 30, 2018
ac2eb33
spelling: optimize
jsoref Dec 30, 2018
86b2a51
spelling: original
jsoref Dec 30, 2018
72eb403
spelling: otherthread
jsoref Dec 30, 2018
473b9a0
spelling: output
jsoref Dec 30, 2018
a937776
spelling: outputting
jsoref Dec 30, 2018
0c83b66
spelling: outstanding
jsoref Dec 30, 2018
6dd555d
spelling: overridable
jsoref Dec 30, 2018
b5e8784
spelling: overrides
jsoref Dec 30, 2018
cb5599b
spelling: parameter
jsoref Dec 30, 2018
59b6ffe
spelling: parameters
jsoref Dec 30, 2018
c8222b4
spelling: parsable
jsoref Dec 30, 2018
7297181
spelling: partition
jsoref Dec 30, 2018
9b65698
spelling: password
jsoref Dec 30, 2018
8ecbffb
spelling: pattern
jsoref Dec 30, 2018
bd522f6
spelling: pipeline
jsoref Dec 30, 2018
bf5ddc1
spelling: plugin
jsoref Dec 30, 2018
215d4a0
spelling: polygon
jsoref Dec 30, 2018
11a92bd
spelling: positions
jsoref Dec 30, 2018
4223a94
spelling: postfix
jsoref Dec 30, 2018
711de59
spelling: preceded
jsoref Dec 30, 2018
c111dd8
spelling: percentile
jsoref Dec 30, 2018
b71be56
spelling: permission
jsoref Dec 30, 2018
7210950
spelling: precision
jsoref Dec 30, 2018
c0ee174
spelling: preserving
jsoref Dec 30, 2018
eaa3b88
spelling: primary
jsoref Dec 30, 2018
a3a9ff6
spelling: private
jsoref Dec 30, 2018
6f7472b
spelling: privilege
jsoref Dec 30, 2018
c0c8805
spelling: privileges
jsoref Dec 30, 2018
61640db
spelling: processor
jsoref Dec 30, 2018
79f7f6a
spelling: processors
jsoref Dec 30, 2018
7d37448
spelling: properties
jsoref Dec 30, 2018
fe26796
spelling: queryable
jsoref Dec 30, 2018
25084a7
spelling: random
jsoref Dec 30, 2018
baecf38
spelling: rebalancing
jsoref Dec 30, 2018
62cea1b
spelling: receiver
jsoref Dec 30, 2018
4e08349
spelling: recoveries
jsoref Dec 30, 2018
f320c00
spelling: rectifying
jsoref Dec 30, 2018
921439e
spelling: reference
jsoref Dec 30, 2018
5a503fa
spelling: referencing
jsoref Dec 30, 2018
417f8e5
spelling: refresh
jsoref Dec 30, 2018
d0b1b6c
spelling: reinitialized
jsoref Dec 30, 2018
cb772e0
spelling: reinitializing
jsoref Dec 30, 2018
193bd62
spelling: releasable
jsoref Dec 30, 2018
7b62044
spelling: released
jsoref Dec 30, 2018
c2e3a9e
spelling: repeat
jsoref Dec 30, 2018
d611b43
spelling: repeats
jsoref Dec 30, 2018
8db0bc2
spelling: request
jsoref Dec 30, 2018
ab0cd6b
spelling: rescoring
jsoref Dec 30, 2018
0c19ab2
spelling: requested
jsoref Dec 30, 2018
7e9d4d4
spelling: requires
jsoref Dec 30, 2018
911f993
spelling: reset
jsoref Dec 30, 2018
2a38c57
spelling: response
jsoref Dec 30, 2018
be0d158
spelling: resolve
jsoref Dec 30, 2018
bc2fa9d
spelling: resource
jsoref Dec 30, 2018
61c73d3
spelling: repositories
jsoref Dec 30, 2018
cb7df07
spelling: reproducibility
jsoref Dec 30, 2018
a259fc8
spelling: restored
jsoref Dec 30, 2018
541df97
spelling: retrieved
jsoref Dec 30, 2018
d9f4d86
spelling: retrieving
jsoref Dec 30, 2018
3aa455d
spelling: i.e.
jsoref Dec 30, 2018
4632890
spelling: identifier
jsoref Dec 30, 2018
0e96e21
spelling: round
jsoref Dec 30, 2018
a8bc279
spelling: scripts
jsoref Dec 30, 2018
0c01e95
spelling: segment
jsoref Dec 30, 2018
3d23685
spelling: separately
jsoref Dec 30, 2018
b5c2574
spelling: separator
jsoref Dec 30, 2018
c85484d
spelling: sequence
jsoref Dec 30, 2018
545d366
spelling: serialization
jsoref Dec 30, 2018
f890a6d
spelling: service
jsoref Dec 30, 2018
48efd7f
spelling: shortcut
jsoref Dec 30, 2018
3f144c7
spelling: should
jsoref Dec 30, 2018
99635fc
spelling: shuffled
jsoref Dec 30, 2018
997a896
spelling: similar
jsoref Dec 30, 2018
8e7c390
spelling: similarities
jsoref Dec 30, 2018
61147fc
spelling: simplest
jsoref Dec 30, 2018
7302b50
spelling: skewness
jsoref Dec 30, 2018
5d41a89
spelling: snapshot
jsoref Dec 30, 2018
3bff849
spelling: snapshotter
jsoref Dec 30, 2018
249fbc0
spelling: solely
jsoref Dec 30, 2018
6de9625
spelling: something
jsoref Dec 30, 2018
2fdaabe
spelling: somethingelse
jsoref Dec 30, 2018
563d2ee
spelling: split
jsoref Dec 30, 2018
20102f7
spelling: square
jsoref Dec 30, 2018
c66814f
spelling: stabilize
jsoref Dec 30, 2018
0af19be
spelling: statement
jsoref Dec 30, 2018
a4447d0
spelling: statistics
jsoref Dec 30, 2018
fa0f2ac
spelling: stopped
jsoref Dec 30, 2018
ef24a04
spelling: storable
jsoref Dec 30, 2018
6b8fdff
spelling: storeable
jsoref Dec 30, 2018
c60f05c
spelling: string
jsoref Dec 30, 2018
7491d40
spelling: substitutions
jsoref Dec 30, 2018
817ca26
spelling: subtract
jsoref Dec 30, 2018
dff883c
spelling: success
jsoref Dec 30, 2018
0c4c032
spelling: successful
jsoref Dec 30, 2018
b67ee2b
spelling: succinct
jsoref Dec 30, 2018
8b1b8da
spelling: summarized
jsoref Dec 30, 2018
aee339f
spelling: superseding
jsoref Dec 30, 2018
be0b955
spelling: supplied
jsoref Dec 30, 2018
2d3a35b
spelling: switching
jsoref Dec 30, 2018
cf09714
spelling: synced
jsoref Dec 30, 2018
2839240
spelling: synchronize
jsoref Dec 30, 2018
7418d24
spelling: system
jsoref Dec 30, 2018
f501154
spelling: template
jsoref Dec 30, 2018
9a9010c
spelling: returns
jsoref Dec 30, 2018
32e792c
spelling: rewritable
jsoref Dec 30, 2018
e4a80eb
spelling: threshold
jsoref Dec 30, 2018
03a2c88
spelling: timeout
jsoref Dec 30, 2018
4c3d459
spelling: training
jsoref Dec 30, 2018
06c8724
spelling: translog
jsoref Dec 30, 2018
aaf5bd1
spelling: transport
jsoref Dec 30, 2018
1fd1c93
spelling: ukrainian
jsoref Dec 30, 2018
2909334
spelling: unavailable
jsoref Dec 30, 2018
0527c46
spelling: including
jsoref Dec 30, 2018
52bd7cd
spelling: independent
jsoref Dec 30, 2018
bf9e6e0
spelling: unduly
jsoref Dec 30, 2018
c0357d2
spelling: unfreeze
jsoref Dec 30, 2018
7bdfa23
spelling: unknown
jsoref Dec 30, 2018
47fbfd4
spelling: unresolvable
jsoref Dec 30, 2018
106a955
spelling: unsupported
jsoref Dec 30, 2018
a65db22
spelling: unusually
jsoref Dec 30, 2018
6fa7ec6
spelling: updatable
jsoref Dec 30, 2018
af98710
spelling: verification
jsoref Dec 30, 2018
ec52822
spelling: vocabulary
jsoref Dec 30, 2018
28a3868
spelling: wasn't
jsoref Dec 30, 2018
74632b4
spelling: wildcard
jsoref Dec 30, 2018
3bc0903
spelling: within
jsoref Dec 30, 2018
510dc5e
spelling: xcontent
jsoref Dec 31, 2018
752eada
spelling: program
jsoref Dec 31, 2018
f8bfcf3
spelling: programmatically
jsoref Dec 30, 2018
ab00eb6
spelling: sorted
jsoref Dec 31, 2018
be69cc5
spelling: specified
jsoref Dec 30, 2018
33d5c0f
spelling: methodology
jsoref Dec 31, 2018
6c92f5e
spelling: migration
jsoref Dec 30, 2018
3a79382
spelling: using
jsoref Dec 31, 2018
2aa6af3
spelling: values
jsoref Dec 31, 2018
b182637
spelling: variation
jsoref Dec 30, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion TESTING.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ systemProp.tests.jvms=8
----------------------------

Its difficult to pick the "right" number here. Hypercores don't count for CPU
intensive tests and you should leave some slack for JVM-interal threads like
intensive tests and you should leave some slack for JVM-internal threads like
the garbage collector. And you have to have enough RAM to handle each JVM.

=== Test compatibility.
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ allprojects {
// otherwise the eclipse merging is *super confusing*
tasks.eclipse.dependsOn(cleanEclipse, copyEclipseSettings)

// work arround https://github.com/gradle/gradle/issues/6582
// work around https://github.com/gradle/gradle/issues/6582
tasks.eclipseProject.mustRunAfter tasks.cleanEclipseProject
tasks.matching { it.name == 'eclipseClasspath' }.all {
it.mustRunAfter { tasks.cleanEclipseClasspath }
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ if (project != rootProject) {
}

/*
* We alread configure publication and we don't need or want this one that
* We already configure publication and we don't need or want this one that
* comes from the java-gradle-plugin.
*/
afterEvaluate {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class BuildPlugin implements Plugin<Project> {
}

String inFipsJvmScript = 'print(java.security.Security.getProviders()[0].name.toLowerCase().contains("fips"));'
boolean inFipsJvm = Boolean.parseBoolean(runJavascript(project, runtimeJavaHome, inFipsJvmScript))
boolean inFipsJvm = Boolean.parseBoolean(runJavaScript(project, runtimeJavaHome, inFipsJvmScript))

// Build debugging info
println '======================================='
Expand Down Expand Up @@ -431,28 +431,28 @@ class BuildPlugin implements Plugin<Project> {
String versionInfoScript = 'print(' +
'java.lang.System.getProperty("java.vendor") + " " + java.lang.System.getProperty("java.version") + ' +
'" [" + java.lang.System.getProperty("java.vm.name") + " " + java.lang.System.getProperty("java.vm.version") + "]");'
return runJavascript(project, javaHome, versionInfoScript).trim()
return runJavaScript(project, javaHome, versionInfoScript).trim()
}

/** Finds the parsable java specification version */
private static String findJavaSpecificationVersion(Project project, String javaHome) {
String versionScript = 'print(java.lang.System.getProperty("java.specification.version"));'
return runJavascript(project, javaHome, versionScript)
return runJavaScript(project, javaHome, versionScript)
}

private static String findJavaVendor(Project project, String javaHome) {
String vendorScript = 'print(java.lang.System.getProperty("java.vendor"));'
return runJavascript(project, javaHome, vendorScript)
return runJavaScript(project, javaHome, vendorScript)
}

/** Finds the parsable java specification version */
private static String findJavaVersion(Project project, String javaHome) {
String versionScript = 'print(java.lang.System.getProperty("java.version"));'
return runJavascript(project, javaHome, versionScript)
return runJavaScript(project, javaHome, versionScript)
}

/** Runs the given javascript using jjs from the jdk, and returns the output */
private static String runJavascript(Project project, String javaHome, String script) {
private static String runJavaScript(Project project, String javaHome, String script) {
ByteArrayOutputStream stdout = new ByteArrayOutputStream()
ByteArrayOutputStream stderr = new ByteArrayOutputStream()
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
Expand Down Expand Up @@ -553,7 +553,7 @@ class BuildPlugin implements Plugin<Project> {
RepositoryHandler repos = project.repositories
if (System.getProperty("repos.mavenLocal") != null) {
// with -Drepos.mavenLocal=true we can force checking the local .m2 repo which is
// useful for development ie. bwc tests where we install stuff in the local repository
// useful for development i.e. bwc tests where we install stuff in the local repository
// such that we don't have to pass hardcoded files to gradle
repos.mavenLocal()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class FileContentsTask extends DefaultTask {
Object contents

/**
* The file to be built. Takes any objecct and coerces to a file.
* The file to be built. Takes any object and coerces to a file.
*/
void setFile(Object file) {
this.file = file as File
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class PrecommitTasks {
* (which provides NamingConventionsCheck) and :test:logger-usage
* which provides the logger usage check. Since the build tools
* don't use the logger usage check because they don't have any
* of Elaticsearch's loggers and :test:logger-usage actually does
* of Elasticsearch's loggers and :test:logger-usage actually does
* use the NamingConventionsCheck we break the circular dependency
* here.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ private PatternFilterable getRandomizedTestingPatternSet(Task task) {
Method getPatternSet = task.getClass().getMethod("getPatternSet");
return (PatternFilterable) getPatternSet.invoke(task);
} catch (NoSuchMethodException e) {
throw new IllegalStateException("Expecte task to have a `patternSet` " + task, e);
throw new IllegalStateException("Expected task to have a `patternSet` " + task, e);
} catch (IllegalAccessException | InvocationTargetException e) {
throw new IllegalStateException("Failed to get pattern set from task" + task, e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ private void startElasticsearchProcess(File distroArtifact) {
try {
processBuilder.directory(workingDir);
Map<String, String> environment = processBuilder.environment();
// Don't inherit anything from the environment for as that would lack reproductability
// Don't inherit anything from the environment for as that would lack reproducibility
environment.clear();
if (javaHome != null) {
environment.put("JAVA_HOME", getJavaHome().getAbsolutePath());
Expand Down Expand Up @@ -219,7 +219,7 @@ public String getTransportPortURI() {
synchronized void stop(boolean tailLogs) {
if (esProcess == null && tailLogs) {
// This is a special case. If start() throws an exception the plugin will still call stop
// Another exception here would eat the orriginal.
// Another exception here would eat the original.
return;
}
logger.info("Stopping `{}`, tailLogs: {}", this, tailLogs);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ private static void configureCleanupHooks(Project project) {
shutdownExecutorService();
});
// When the Daemon is not used, or runs into issues, rely on a shutdown hook
// When the daemon is used, but does not work correctly and eventually dies off (e.x. due to non interruptable
// When the daemon is used, but does not work correctly and eventually dies off (e.x. due to non interruptible
// thread in the build) process will be stopped eventually when the daemon dies.
Runtime.getRuntime().addShutdownHook(new Thread(TestClustersPlugin::shutDownAllClusters));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ public void testCompareToAuthoritativeUnreleasedActuallyReleased() {
vc.compareToAuthoritative(authoritativeReleasedVersions);
}

public void testCompareToAuthoritativeNotReallyRelesed() {
public void testCompareToAuthoritativeNotReallyReleased() {
List<String> listOfVersions = asList("7.0.0", "7.0.1", "7.1.0", "7.1.1", "7.2.0", "7.3.0", "8.0.0");
List<Version> authoritativeReleasedVersions = Stream.of("7.0.0", "7.0.1")
.map(Version::fromString)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ public void assertOutputOnlyOnce(String output, String... text) {
for (String each : text) {
int i = output.indexOf(each);
if (i == -1 ) {
fail("Expected \n```" + each + "```\nto appear at most once, but it didn't at all.\n\nOutout is:\n"+ output
fail("Expected \n```" + each + "```\nto appear at most once, but it didn't at all.\n\nOutput is:\n"+ output
);
}
if(output.indexOf(each) != output.lastIndexOf(each)) {
fail("Expected `" + each + "` to appear at most once, but it did multiple times.\n\nOutout is:\n"+ output);
fail("Expected `" + each + "` to appear at most once, but it did multiple times.\n\nOutput is:\n"+ output);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public Collection<Method> getTestMethods(Class<?> suiteClass, ClassModel classMo
Map<Method,MethodModel> methods = classModel.getMethods();
ArrayList<Method> result = new ArrayList<>();
for (MethodModel mm : methods.values()) {
// Skip any methods that have overrieds/ shadows.
// Skip any methods that have overrides/ shadows.
if (mm.getDown() != null) continue;

Method m = mm.element;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ task sample {
task noConfigAfterExecution {
dependsOn buildResources
doLast {
println "This should cause an error because we are refferencing " +
println "This should cause an error because we are referencing " +
"${buildResources.copy('checkstyle_suppressions.xml')} after the `buildResources` task has ran."
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ public float getRequestsPerSecond() {

@Override
public String toString() {
return "RethrottleRequest: taskID = " + taskId +"; reqestsPerSecond = " + requestsPerSecond;
return "RethrottleRequest: taskID = " + taskId +"; requestsPerSecond = " + requestsPerSecond;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm hoping this is a debugging object

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public ExecuteWatchResponse executeWatch(ExecuteWatchRequest request, RequestOpt
* the docs</a> for more.
* @param request the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @param listener the listener to be notifed upon request completion
* @param listener the listener to be notified upon request completion
*/
public void executeWatchAsync(ExecuteWatchRequest request, RequestOptions options, ActionListener<ExecuteWatchResponse> listener) {
restHighLevelClient.performRequestAsyncAndParseEntity(request, WatcherRequestConverters::executeWatch, options,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public final class ProtocolUtils {
/**
* Implements equals for a map of string arrays
*
* The map of string arrays is used in some XPack protocol classes but does't work with equal.
* The map of string arrays is used in some XPack protocol classes but doesn't work with equal.
*/
public static boolean equals(Map<String, String[]> a, Map<String, String[]> b) {
if (a == null) {
Expand Down Expand Up @@ -61,7 +61,7 @@ public static boolean equals(Map<String, String[]> a, Map<String, String[]> b) {
/**
* Implements hashCode for map of string arrays
*
* The map of string arrays does't work with hashCode.
* The map of string arrays doesn't work with hashCode.
*/
public static int hashCode(Map<String, String[]> a) {
int hash = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public boolean returnDetailedInfo() {

/**
* Add a stage in the graph exploration. Each hop represents a stage of
* querying elasticsearch to identify terms which can then be connnected to
* querying elasticsearch to identify terms which can then be connected to
* other terms in a subsequent hop.
*
* @param guidingQuery
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public XContentBuilder toXContent(XContentBuilder builder, Params params) throws
}

private static final ConstructingObjectParser<GraphExploreResponse, Void> PARSER = new ConstructingObjectParser<>(
"GraphExploreResponsenParser", true,
"GraphExploreResponseParser", true,
args -> {
GraphExploreResponse result = new GraphExploreResponse();
result.vertices = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
* <p>
* Optionally, each hop can contain a "guiding query" that further limits the set of documents considered.
* In our weblog example above we might choose to constrain the second hop to only look at log records that
* had a reponse code of 404.
* had a response code of 404.
* </p>
* <p>
* If absent, the list of {@link VertexRequest}s is inherited from the prior Hop's list to avoid repeating
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ public static GetLifecyclePolicyResponse fromXContent(XContentParser parser) thr
while (!parser.isClosed()) {
if (parser.currentToken() == XContentParser.Token.START_OBJECT) {
String policyName = parser.currentName();
LifecyclePolicyMetadata policyDefinion = LifecyclePolicyMetadata.parse(parser, policyName);
policies.put(policyName, policyDefinion);
LifecyclePolicyMetadata policyDefinition = LifecyclePolicyMetadata.parse(parser, policyName);
policies.put(policyName, policyDefinition);
} else {
parser.nextToken();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void setIndicesOptions(IndicesOptions indicesOptions) {
}

/**
* Returns the wait for active shard cound or null if the default should be used
* Returns the wait for active shard count or null if the default should be used
*/
public ActiveShardCount getWaitForActiveShards() {
return waitForActiveShards;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public void setIndicesOptions(IndicesOptions indicesOptions) {
}

/**
* Returns the wait for active shard cound or null if the default should be used
* Returns the wait for active shard count or null if the default should be used
*/
public ActiveShardCount getWaitForActiveShards() {
return waitForActiveShards;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ private JobUpdate(String jobId, @Nullable List<String> groups, @Nullable String
@Nullable List<DetectorUpdate> detectorUpdates, @Nullable ModelPlotConfig modelPlotConfig,
@Nullable AnalysisLimits analysisLimits, @Nullable TimeValue backgroundPersistInterval,
@Nullable Long renormalizationWindowDays, @Nullable Long resultsRetentionDays,
@Nullable Long modelSnapshotRetentionDays, @Nullable List<String> categorisationFilters,
@Nullable Long modelSnapshotRetentionDays, @Nullable List<String> categorizationFilters,
@Nullable Map<String, Object> customSettings) {
this.jobId = jobId;
this.groups = groups;
Expand All @@ -85,7 +85,7 @@ private JobUpdate(String jobId, @Nullable List<String> groups, @Nullable String
this.backgroundPersistInterval = backgroundPersistInterval;
this.modelSnapshotRetentionDays = modelSnapshotRetentionDays;
this.resultsRetentionDays = resultsRetentionDays;
this.categorizationFilters = categorisationFilters;
this.categorizationFilters = categorizationFilters;
this.customSettings = customSettings;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ public Date getLatestRecordTimeStamp() {
/**
* The wall clock time the latest record was seen.
*
* @return Wall clock time of the lastest record
* @return Wall clock time of the latest record
*/
public Date getLastDataTimeStamp() {
return lastDataTimeStamp;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class GetRollupJobRequest implements Validatable {
private final String jobId;

/**
* Create a requets .
* Create a requests .
* @param jobId id of the job to return or {@code _all} to return all jobs
*/
public GetRollupJobRequest(final String jobId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public final String toString() {
public static class RollupIndexerJobStats {
private final long numPages;
private final long numInputDocuments;
private final long numOuputDocuments;
private final long numOutputDocuments;
private final long numInvocations;
private long indexTime;
private long indexTotal;
Expand All @@ -194,11 +194,11 @@ public static class RollupIndexerJobStats {
private long indexFailures;
private long searchFailures;

RollupIndexerJobStats(long numPages, long numInputDocuments, long numOuputDocuments, long numInvocations,
RollupIndexerJobStats(long numPages, long numInputDocuments, long numOutputDocuments, long numInvocations,
long indexTime, long indexTotal, long searchTime, long searchTotal, long indexFailures, long searchFailures) {
this.numPages = numPages;
this.numInputDocuments = numInputDocuments;
this.numOuputDocuments = numOuputDocuments;
this.numOutputDocuments = numOutputDocuments;
this.numInvocations = numInvocations;
this.indexTime = indexTime;
this.indexTotal = indexTotal;
Expand Down Expand Up @@ -233,7 +233,7 @@ public long getNumInvocations() {
* Number of documents written to the result indices.
*/
public long getOutputDocuments() {
return numOuputDocuments;
return numOutputDocuments;
}

/**
Expand Down Expand Up @@ -304,7 +304,7 @@ public boolean equals(Object other) {
RollupIndexerJobStats that = (RollupIndexerJobStats) other;
return Objects.equals(this.numPages, that.numPages)
&& Objects.equals(this.numInputDocuments, that.numInputDocuments)
&& Objects.equals(this.numOuputDocuments, that.numOuputDocuments)
&& Objects.equals(this.numOutputDocuments, that.numOutputDocuments)
&& Objects.equals(this.numInvocations, that.numInvocations)
&& Objects.equals(this.indexTime, that.indexTime)
&& Objects.equals(this.searchTime, that.searchTime)
Expand All @@ -316,15 +316,15 @@ public boolean equals(Object other) {

@Override
public int hashCode() {
return Objects.hash(numPages, numInputDocuments, numOuputDocuments, numInvocations,
return Objects.hash(numPages, numInputDocuments, numOutputDocuments, numInvocations,
indexTime, searchTime, indexFailures, searchFailures, searchTotal, indexTotal);
}

@Override
public final String toString() {
return "{pages=" + numPages
+ ", input_docs=" + numInputDocuments
+ ", output_docs=" + numOuputDocuments
+ ", output_docs=" + numOutputDocuments
+ ", invocations=" + numInvocations
+ ", index_failures=" + indexFailures
+ ", search_failures=" + searchFailures
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public void testGlobalParametersAndSingleRequest() throws Exception {

final CountDownLatch latch = new CountDownLatch(1);
BulkProcessorTestListener listener = new BulkProcessorTestListener(latch);
createFieldAddingPipleine("pipeline_id", "fieldNameXYZ", "valueXYZ");
createFieldAddingPipeline("pipeline_id", "fieldNameXYZ", "valueXYZ");

// tag::bulk-processor-mix-parameters
try (BulkProcessor processor = initBulkProcessorBuilder(listener)
Expand Down Expand Up @@ -322,7 +322,7 @@ public void testGlobalParametersAndBulkProcessor() throws Exception {

final CountDownLatch latch = new CountDownLatch(1);
BulkProcessorTestListener listener = new BulkProcessorTestListener(latch);
createFieldAddingPipleine("pipeline_id", "fieldNameXYZ", "valueXYZ");
createFieldAddingPipeline("pipeline_id", "fieldNameXYZ", "valueXYZ");

int numDocs = randomIntBetween(10, 10);
try (BulkProcessor processor = initBulkProcessorBuilder(listener)
Expand Down
Loading