Skip to content

Commit

Permalink
revising comment
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Li <lnse@amazon.com>
  • Loading branch information
sejli committed Jan 11, 2023
1 parent 8542176 commit 4409f99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public static Fuzziness parse(XContentParser parser) throws IOException {
return build(fuzziness);
}
} catch (NumberFormatException ex) {
// Validating if the inputted Fuzziness value is a float. If not, it is an invalid string.
// Validate if the fuzziness value is formatted correctly as a numeric value.
try {
final float minimumSimilarity = Float.parseFloat(fuzziness);
return build(fuzziness);
Expand Down

0 comments on commit 4409f99

Please sign in to comment.