mirror of
https://github.com/corda/corda.git
synced 2025-02-21 01:42:24 +00:00
Review Comments - rename putObject to writeSchema
This commit is contained in:
parent
534f60dc57
commit
056811845b
@ -34,7 +34,7 @@ open class SerializationOutput(internal val serializerFactory: SerializerFactory
|
||||
// Our object
|
||||
writeObject(obj, this)
|
||||
// The schema
|
||||
putObject(Schema(schemaHistory.toList()), this)
|
||||
writeSchema(Schema(schemaHistory.toList()), this)
|
||||
}
|
||||
}
|
||||
val bytes = ByteArray(data.encodedSize().toInt() + 8)
|
||||
@ -53,7 +53,7 @@ open class SerializationOutput(internal val serializerFactory: SerializerFactory
|
||||
writeObject(obj, data, obj.javaClass)
|
||||
}
|
||||
|
||||
open fun putObject(schema: Schema, data: Data) {
|
||||
open fun writeSchema(schema: Schema, data: Data) {
|
||||
data.putObject(schema)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user