diff --git a/libs/dissect/src/main/java/org/elasticsearch/dissect/DissectKey.java b/libs/dissect/src/main/java/org/elasticsearch/dissect/DissectKey.java index 242c92f795d36..ec7c9659eb7af 100644 --- a/libs/dissect/src/main/java/org/elasticsearch/dissect/DissectKey.java +++ b/libs/dissect/src/main/java/org/elasticsearch/dissect/DissectKey.java @@ -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; diff --git a/libs/dissect/src/main/java/org/elasticsearch/dissect/DissectMatch.java b/libs/dissect/src/main/java/org/elasticsearch/dissect/DissectMatch.java index 3d7b1a32ba516..57ba80a8f27a7 100644 --- a/libs/dissect/src/main/java/org/elasticsearch/dissect/DissectMatch.java +++ b/libs/dissect/src/main/java/org/elasticsearch/dissect/DissectMatch.java @@ -93,7 +93,7 @@ boolean isValid(Map 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. */ diff --git a/libs/lz4/src/test/java/org/elasticsearch/lz4/ESLZ4Tests.java b/libs/lz4/src/test/java/org/elasticsearch/lz4/ESLZ4Tests.java index 46f675f7ca56c..f2a085b7b21cd 100644 --- a/libs/lz4/src/test/java/org/elasticsearch/lz4/ESLZ4Tests.java +++ b/libs/lz4/src/test/java/org/elasticsearch/lz4/ESLZ4Tests.java @@ -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) { @@ -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; @@ -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) { diff --git a/libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/SslConfigurationKeys.java b/libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/SslConfigurationKeys.java index 3df79d003776c..a18d59bfc6e2a 100644 --- a/libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/SslConfigurationKeys.java +++ b/libs/ssl-config/src/main/java/org/elasticsearch/common/ssl/SslConfigurationKeys.java @@ -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