mirror of
https://github.com/corda/corda.git
synced 2025-06-22 17:09:00 +00:00
Fixes after merge remote-tracking branch 'remotes/open/master' into szymonsztuka/os-merge-20180824
This commit is contained in:
@ -515,8 +515,3 @@ fun <T : Any> SerializedBytes<Any>.checkPayloadIs(type: Class<T>): Untrustworthy
|
||||
return type.castIfPossible(payloadData)?.let { UntrustworthyData(it) }
|
||||
?: throw IllegalArgumentException("We were expecting a ${type.name} but we instead got a ${payloadData.javaClass.name} ($payloadData)")
|
||||
}
|
||||
|
||||
/**
|
||||
* Extension method to make this method visible to nodeapi module.
|
||||
*/
|
||||
fun MappedSchema.getMigrationResource(): String? = this.internalGetMigrationResource()
|
Reference in New Issue
Block a user