From 9e834cbf8a11b7a6bc9aff542ff6a2575f379ef4 Mon Sep 17 00:00:00 2001 From: Dimitrios Athanasiou Date: Fri, 19 Jan 2018 11:45:03 +0000 Subject: [PATCH] [ML] Fix javadoc in MlStrings#hasValidLengthForId Original commit: elastic/x-pack-elasticsearch@ef5ecad5e2be655785ea05709cf235bf89cbf23a --- .../main/java/org/elasticsearch/xpack/ml/utils/MlStrings.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/core/src/main/java/org/elasticsearch/xpack/ml/utils/MlStrings.java b/plugin/core/src/main/java/org/elasticsearch/xpack/ml/utils/MlStrings.java index d5ba08a3213..d872c7e1d2d 100644 --- a/plugin/core/src/main/java/org/elasticsearch/xpack/ml/utils/MlStrings.java +++ b/plugin/core/src/main/java/org/elasticsearch/xpack/ml/utils/MlStrings.java @@ -65,7 +65,7 @@ public final class MlStrings { /** * Checks if the given {@code id} has a valid length. - * We keep IDs in a length < {@link #ID_LENGTH_LIMIT} + * We keep IDs in a length shorter or equal than {@link #ID_LENGTH_LIMIT} * in order to avoid unfriendly errors when storing docs with * more than 512 bytes. *