Skip to content

Commit

Permalink
[DOCS] Fix a few spelling mistakes in libs (#79761) (#79918)
Browse files Browse the repository at this point in the history
Signed-off-by: ewlumpkin <[email protected]>

Co-authored-by: Eddie Lumpkin <[email protected]>
  • Loading branch information
jrodewig and ewlumpkin authored Oct 27, 2021
1 parent 8416aa7 commit f20a0dc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public final class DissectKey {
/**
* Copy constructor to explicitly override the modifier.
* @param key The key to copy (except for the modifier)
* @param modifier the modifer to use for this copy
* @param modifier the modifier to use for this copy
*/
DissectKey(DissectKey key, DissectKey.Modifier modifier){
this.modifier = modifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ boolean isValid(Map<String, String> resultsToCheck) {
}

/**
* Gets all the current matches. Pass the results of this to isValid to determine if a fully successful match has occured.
* Gets all the current matches. Pass the results of this to isValid to determine if a fully successful match has occurred.
*
* @return the map of the results.
*/
Expand Down
6 changes: 3 additions & 3 deletions libs/lz4/src/test/java/org/elasticsearch/lz4/ESLZ4Tests.java
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public void testRoundtripPic() throws IOException {
}

public void testNullMatchDec() {
// 1 literal, 4 matchs with matchDec=0, 8 literals
// 1 literal, 4 matches with matchDec=0, 8 literals
final byte[] invalid = new byte[] { 16, 42, 0, 0, (byte) 128, 42, 42, 42, 42, 42, 42, 42, 42 };
// decompression should neither throw an exception nor loop indefinitely
for (LZ4FastDecompressor decompressor : FAST_DECOMPRESSORS) {
Expand All @@ -279,7 +279,7 @@ public void testNullMatchDec() {
}

public void testEndsWithMatch() {
// 6 literals, 4 matchs
// 6 literals, 4 matches
final byte[] invalid = new byte[] { 96, 42, 43, 44, 45, 46, 47, 5, 0 };
final int decompressedLength = 10;

Expand All @@ -305,7 +305,7 @@ public void testEndsWithMatch() {
}

public void testEndsWithLessThan5Literals() {
// 6 literals, 4 matchs
// 6 literals, 4 matches
final byte[] invalidBase = new byte[] { 96, 42, 43, 44, 45, 46, 47, 5, 0 };

for (int i = 1; i < 5; ++i) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public class SslConfigurationKeys {
public static final String KEYSTORE_TYPE = "keystore.type";
/**
* The {@link javax.net.ssl.KeyManagerFactory#getAlgorithm() key management algorithm} to use when
* connstructing a Key manager from a {@link #KEYSTORE_PATH keystore}.
* constructing a Key manager from a {@link #KEYSTORE_PATH keystore}.
*/
public static final String KEYSTORE_ALGORITHM = "keystore.algorithm";
// -- PEM
Expand Down

0 comments on commit f20a0dc

Please sign in to comment.