Skip to content

Commit a8bb30d

Browse files
authored
Merge pull request #199 from ProjectMapK/k163377-patch-1
Fixed forgetting to delete temporary code
2 parents c652531 + d3d1f35 commit a8bb30d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/main/kotlin/io/github/projectmapk/jackson/module/kogera/deser/valueInstantiator/KotlinValueInstantiator.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ internal class KotlinValueInstantiator(
106106
} else {
107107
val isMissingAndRequired = isMissing && jsonProp.isRequired
108108
if (isMissingAndRequired || !(paramDef.isNullable || paramDef.isGenericType)) {
109-
InvalidNullException.from(ctxt, jsonProp.fullName, jsonProp.type)
110-
111109
throw InvalidNullException
112110
.from(ctxt, jsonProp.fullName, jsonProp.type)
113111
.wrapWithPath(this.valueClass, jsonProp.name)

0 commit comments

Comments
 (0)