We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 30dd844 + 2f9cb39 commit 3641881Copy full SHA for 3641881
src/main/java/com/gravity9/jsonpatch/jackson/JsonNumEquals.java
@@ -147,20 +147,6 @@ private int doHash(final JsonNode t)
147
return ret;
148
}
149
150
-// private static boolean numEquals(final JsonNode a, final JsonNode b)
151
-// {
152
-// /*
153
-// * If both numbers are integers, delegate to JsonNode.
154
-// */
155
-// if (a.isIntegralNumber() && b.isIntegralNumber())
156
-// return a.equals(b);
157
-//
158
159
-// * Otherwise, compare decimal values.
160
161
-// return a.decimalValue().compareTo(b.decimalValue()) == 0;
162
-// }
163
-
164
private boolean numEquals(JsonNode a, JsonNode b) {
165
return a.isNumber() && b.isNumber()
166
? areNumberNodesNumericallyEqual(a, b)
0 commit comments