mirror of
https://github.com/corda/corda.git
synced 2024-12-27 00:21:12 +00:00
Remove superfluous @JvmStatic annotation. (#2832)
This annotation was applied because of a misunderstanding of what it actually did.
This commit is contained in:
parent
59d4a2c7fe
commit
9f80cfa249
@ -51,7 +51,6 @@ data class LedgerTransaction @JvmOverloads constructor(
|
|||||||
}
|
}
|
||||||
|
|
||||||
private companion object {
|
private companion object {
|
||||||
@JvmStatic
|
|
||||||
private fun createContractFor(className: ContractClassName, classLoader: ClassLoader?): Try<Contract> {
|
private fun createContractFor(className: ContractClassName, classLoader: ClassLoader?): Try<Contract> {
|
||||||
return Try.on {
|
return Try.on {
|
||||||
(classLoader ?: this::class.java.classLoader)
|
(classLoader ?: this::class.java.classLoader)
|
||||||
|
Loading…
Reference in New Issue
Block a user