mirror of
https://github.com/corda/corda.git
synced 2025-06-20 08:03:53 +00:00
Fix broken comment
This commit is contained in:
@ -314,7 +314,7 @@ fun propertiesForSerializationFromSetters(
|
|||||||
"${property.value.field?.genericType!!}")
|
"${property.value.field?.genericType!!}")
|
||||||
}
|
}
|
||||||
|
|
||||||
// make sure the setter returns the same type (within inheritance bounds) the getter accepts
|
// make sure the getter returns the same type (within inheritance bounds) the setter accepts
|
||||||
if (!(TypeToken.of (getter.genericReturnType).isSupertypeOf(setterType))) {
|
if (!(TypeToken.of (getter.genericReturnType).isSupertypeOf(setterType))) {
|
||||||
throw NotSerializableException("Defined setter for parameter ${property.value.field?.name} " +
|
throw NotSerializableException("Defined setter for parameter ${property.value.field?.name} " +
|
||||||
"takes parameter of type $setterType yet the defined getter returns a value of type " +
|
"takes parameter of type $setterType yet the defined getter returns a value of type " +
|
||||||
|
Reference in New Issue
Block a user