diff --git a/contracts/src/test/kotlin/com/r3corda/contracts/asset/CashTests.kt b/contracts/src/test/kotlin/com/r3corda/contracts/asset/CashTests.kt index bc7e11a9f7..a4adf2afbb 100644 --- a/contracts/src/test/kotlin/com/r3corda/contracts/asset/CashTests.kt +++ b/contracts/src/test/kotlin/com/r3corda/contracts/asset/CashTests.kt @@ -39,7 +39,7 @@ class CashTests { } tweak { output { outState } - // No command commanduments + // No command arguments this `fails with` "required com.r3corda.contracts.asset.FungibleAsset.Commands.Move command" } tweak { diff --git a/core/src/main/kotlin/com/r3corda/core/testing/LedgerDSLInterpreter.kt b/core/src/main/kotlin/com/r3corda/core/testing/LedgerDSLInterpreter.kt index 27c24606b4..d41ad3cd60 100644 --- a/core/src/main/kotlin/com/r3corda/core/testing/LedgerDSLInterpreter.kt +++ b/core/src/main/kotlin/com/r3corda/core/testing/LedgerDSLInterpreter.kt @@ -19,7 +19,7 @@ interface LedgerDSLInterpreter> : Output /** * This is the class the top-level primitives deal with. It delegates all other primitives to the contained interpreter. * This way we have a decoupling of the DSL "AST" and the interpretation(s) of it. Note how the delegation forces - * covariance of the TransactionInterpreter parameter + * covariance of the TransactionInterpreter parameter. * * TODO (Kotlin 1.1): Use type synonyms to make the type params less unwieldy */ diff --git a/core/src/main/kotlin/com/r3corda/core/testing/TransactionDSLInterpreter.kt b/core/src/main/kotlin/com/r3corda/core/testing/TransactionDSLInterpreter.kt index d013c923fb..f8421a8326 100644 --- a/core/src/main/kotlin/com/r3corda/core/testing/TransactionDSLInterpreter.kt +++ b/core/src/main/kotlin/com/r3corda/core/testing/TransactionDSLInterpreter.kt @@ -36,7 +36,7 @@ import java.time.Instant * Put convenience functions in [TransactionDSL] instead. There are some cases where the overloads would clash with the * Interpreter interface, in these cases define a "backing" function in the interface instead (e.g. [_command]). * - * This way the responsibility of providing a nice frontend DSL and the implementation(s) are separated + * This way the responsibility of providing a nice frontend DSL and the implementation(s) are separated. */ interface TransactionDSLInterpreter : OutputStateLookup { val ledgerInterpreter: LedgerDSLInterpreter> @@ -56,7 +56,7 @@ class TransactionDSL> (val interpreter: fun input(stateLabel: String) = input(retrieveOutputStateAndRef(ContractState::class.java, stateLabel).ref) /** - * Adds the passed in state as a non-verified transaction output to the ledger and adds that as an input + * Adds the passed in state as a non-verified transaction output to the ledger and adds that as an input. */ fun input(state: ContractState) { val transaction = ledgerInterpreter.unverifiedTransaction(null) {