You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: json-schema-validator/src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/util/ElementEqualityUtil.kt
+6-9Lines changed: 6 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -40,15 +40,12 @@ internal fun areEqualPrimitives(
40
40
if (first.isString != second.isString) {
41
41
returnfalse
42
42
}
43
-
returnif (first.isString) {
44
-
first.content == second.content
45
-
} else {
46
-
when {
47
-
first.isNull || second.isNull ->false
48
-
// probably content should be compared ignoring the case - YAML allows different values for boolean
Copy file name to clipboardExpand all lines: json-schema-validator/src/commonMain/kotlin/io/github/optimumcode/json/schema/internal/util/NumberParts.kt
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,12 @@ internal data class NumberParts(
0 commit comments