mirror of
https://github.com/corda/corda.git
synced 2024-12-19 04:57:58 +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
@ -35,7 +35,9 @@ class DBCheckpointStorage : CheckpointStorage {
|
||||
@Type(type = "corda-blob")
|
||||
@Column(name = "checkpoint_value", nullable = false)
|
||||
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