From 17b800ea15224067fc31a4f5bc107c82dc1f28f3 Mon Sep 17 00:00:00 2001 From: Keerthi Nelaturu <nelaturuk@gmail.com> Date: Tue, 10 Jul 2018 14:02:35 -0400 Subject: [PATCH] #3522- IdentitySyncFlow.Send primary constructor requires a ProgressTracker (#3554) * Adding default tracker for primary constructor. * Adding default tracker for primary constructor. * Removing tracker from constructor. * Adding default tracker for primary constructor. * Removing tracker from constructor. --- .../main/kotlin/net/corda/confidential/IdentitySyncFlow.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/confidential-identities/src/main/kotlin/net/corda/confidential/IdentitySyncFlow.kt b/confidential-identities/src/main/kotlin/net/corda/confidential/IdentitySyncFlow.kt index d27a5f6d18..6d4f6ea522 100644 --- a/confidential-identities/src/main/kotlin/net/corda/confidential/IdentitySyncFlow.kt +++ b/confidential-identities/src/main/kotlin/net/corda/confidential/IdentitySyncFlow.kt @@ -20,10 +20,10 @@ object IdentitySyncFlow { * recipient, enabling them to verify that identity. */ // TODO: Can this be triggered automatically from [SendTransactionFlow]? - class Send(val otherSideSessions: Set<FlowSession>, + class Send @JvmOverloads constructor(val otherSideSessions: Set<FlowSession>, val tx: WireTransaction, - override val progressTracker: ProgressTracker) : FlowLogic<Unit>() { - constructor(otherSide: FlowSession, tx: WireTransaction) : this(setOf(otherSide), tx, tracker()) + override val progressTracker: ProgressTracker = tracker()) : FlowLogic<Unit>() { + constructor(otherSide: FlowSession, tx: WireTransaction) : this(setOf(otherSide), tx) companion object { object SYNCING_IDENTITIES : ProgressTracker.Step("Syncing identities")