mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
removed dupe companion object. (#4207)
This commit is contained in:
parent
336185de23
commit
2893271ab4
@ -80,10 +80,6 @@ open class TransactionBuilder @JvmOverloads constructor(
|
||||
return t
|
||||
}
|
||||
|
||||
companion object {
|
||||
val logger = contextLogger()
|
||||
}
|
||||
|
||||
// DOCSTART 1
|
||||
/** A more convenient way to add items to this transaction that calls the add* methods for you based on type */
|
||||
fun withItems(vararg items: Any): TransactionBuilder {
|
||||
@ -265,7 +261,7 @@ open class TransactionBuilder @JvmOverloads constructor(
|
||||
addReferenceState(resolvedStateAndRef.referenced())
|
||||
}
|
||||
} else {
|
||||
logger.warn("WARNING: You must pass in a ServiceHub reference to TransactionBuilder to resolve " +
|
||||
log.warn("WARNING: You must pass in a ServiceHub reference to TransactionBuilder to resolve " +
|
||||
"state pointers outside of flows. If you are writing a unit test then pass in a " +
|
||||
"MockServices instance.")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user