aboutsummaryrefslogtreecommitdiffstats
path: root/vespajlib
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@verizonmedia.com>2020-04-14 15:16:10 +0200
committerHåkon Hallingstad <hakon@verizonmedia.com>2020-04-14 15:16:10 +0200
commit65b61c2c9d70e0a6463503afd8fb65f556818ebd (patch)
tree1d8108be7498dba2be8154fc149c864d364d89d4 /vespajlib
parent598acb4f3e4b855719e7d5ded086522b3625ad02 (diff)
Ignore comment fields
Diffstat (limited to 'vespajlib')
-rw-r--r--vespajlib/src/main/java/com/yahoo/text/JSON.java2
1 files changed, 1 insertions, 1 deletions
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 {
*
* <p>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.</p>
+ * (b) both are non-integers, are syntactically identical, and fits in a double.</p>
*/
public static boolean equals(String left, String right) {
JsonNode leftJsonNode = uncheck(() -> mapper.readTree(left));