mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Modify toString of DBCheckPoint (#4338)
* Modify toString of DBCheckPoint Fix toString of object DBCheckPoint to remove printing of array in DEBUG log * Update DBCheckpointStorage.kt Fix for Code Style Guideline
This commit is contained in:
parent
6d16e2d146
commit
5045f8fb7f
@ -34,8 +34,10 @@ class DBCheckpointStorage : CheckpointStorage {
|
||||
|
||||
@Type(type = "corda-blob")
|
||||
@Column(name = "checkpoint_value", nullable = false)
|
||||
var checkpoint: ByteArray = EMPTY_BYTE_ARRAY
|
||||
)
|
||||
var checkpoint: ByteArray = EMPTY_BYTE_ARRAY
|
||||
) {
|
||||
override fun toString() = "DBCheckpoint(checkpointId = ${checkpointId}, checkpointSize = ${checkpoint.size})"
|
||||
}
|
||||
|
||||
override fun addCheckpoint(id: StateMachineRunId, checkpoint: SerializedBytes<Checkpoint>) {
|
||||
currentDBSession().save(DBCheckpoint().apply {
|
||||
|
Loading…
Reference in New Issue
Block a user