From 65b61c2c9d70e0a6463503afd8fb65f556818ebd Mon Sep 17 00:00:00 2001 From: HÃ¥kon Hallingstad Date: Tue, 14 Apr 2020 15:16:10 +0200 Subject: Ignore comment fields --- vespajlib/src/main/java/com/yahoo/text/JSON.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vespajlib') diff --git a/vespajlib/src/main/java/com/yahoo/text/JSON.java b/vespajlib/src/main/java/com/yahoo/text/JSON.java index 51c22f74d36..9b93918bb6f 100644 --- a/vespajlib/src/main/java/com/yahoo/text/JSON.java +++ b/vespajlib/src/main/java/com/yahoo/text/JSON.java @@ -69,7 +69,7 @@ public final class JSON { * *

When comparing two numbers of the two JSON strings, the result is only guaranteed to be * correct if (a) both are integers (without fraction and exponent) and each fits in a long, or - * (b) both are non-integers, were syntactically identical, and fits in a double.

+ * (b) both are non-integers, are syntactically identical, and fits in a double.

*/ public static boolean equals(String left, String right) { JsonNode leftJsonNode = uncheck(() -> mapper.readTree(left)); -- cgit v1.2.3