CORDA-2899: Added JvmOverloads to CashUtils methods ()

This commit is contained in:
Shams Asari 2019-04-29 13:43:27 +01:00 committed by GitHub
parent 7f8fb1e1d2
commit 8f0a6cb89c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@ object CashUtils {
* there is insufficient quantity for a given currency (and optionally set of Issuer Parties). * there is insufficient quantity for a given currency (and optionally set of Issuer Parties).
*/ */
@JvmStatic @JvmStatic
@JvmOverloads
@Throws(InsufficientBalanceException::class) @Throws(InsufficientBalanceException::class)
@Suspendable @Suspendable
fun generateSpend(services: ServiceHub, fun generateSpend(services: ServiceHub,
@ -132,6 +133,7 @@ object CashUtils {
* there is insufficient quantity for a given currency (and optionally set of Issuer Parties). * there is insufficient quantity for a given currency (and optionally set of Issuer Parties).
*/ */
@JvmStatic @JvmStatic
@JvmOverloads
@Throws(InsufficientBalanceException::class) @Throws(InsufficientBalanceException::class)
@Suspendable @Suspendable
fun generateSpend(services: ServiceHub, fun generateSpend(services: ServiceHub,