@@ -159,25 +159,25 @@ class TestPropertyRequiredness {
159159 " z" .isRequiredForSerializationOf(testClass, mapper)
160160 }
161161
162- private fun String.isRequiredForSerializationOf (type : Class <* >, mapper : ObjectMapper ): Unit {
162+ private fun String.isRequiredForSerializationOf (type : Class <* >, mapper : ObjectMapper ) {
163163 assertTrue(" Property $this should be required for serialization!" ){
164164 introspectSerialization(type, mapper).isRequired(this )
165165 }
166166 }
167167
168- private fun String.isRequiredForDeserializationOf (type : Class <* >, mapper : ObjectMapper ): Unit {
168+ private fun String.isRequiredForDeserializationOf (type : Class <* >, mapper : ObjectMapper ) {
169169 assertTrue(" Property $this should be required for deserialization!" ){
170170 introspectDeserialization(type, mapper).isRequired(this )
171171 }
172172 }
173173
174- private fun String.isOptionalForSerializationOf (type : Class <* >, mapper : ObjectMapper ): Unit {
174+ private fun String.isOptionalForSerializationOf (type : Class <* >, mapper : ObjectMapper ) {
175175 assertFalse(" Property $this should be optional for serialization!" ){
176176 introspectSerialization(type, mapper).isRequired(this )
177177 }
178178 }
179179
180- private fun String.isOptionalForDeserializationOf (type : Class <* >, mapper : ObjectMapper ): Unit {
180+ private fun String.isOptionalForDeserializationOf (type : Class <* >, mapper : ObjectMapper ) {
181181 assertFalse(" Property $this should be optional for deserialization of ${type.simpleName} !" ){
182182 introspectDeserialization(type, mapper).isRequired(this )
183183 }
0 commit comments