Skip to content

Commit 3641881

Browse files
Merge pull request #53 from gravity9-tech/17-patchtestoperation-fails-when-patching-float-value
Remove commented code
2 parents 30dd844 + 2f9cb39 commit 3641881

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/main/java/com/gravity9/jsonpatch/jackson/JsonNumEquals.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -147,20 +147,6 @@ private int doHash(final JsonNode t)
147147
return ret;
148148
}
149149

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-
164150
private boolean numEquals(JsonNode a, JsonNode b) {
165151
return a.isNumber() && b.isNumber()
166152
? areNumberNodesNumericallyEqual(a, b)

0 commit comments

Comments
 (0)