Removed Kt suffix of Strutures in Java

This commit is contained in:
Shams Asari 2017-08-07 15:50:08 +01:00
parent bd0944e799
commit fa7c2b71f7
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
@file:JvmName("Structures")
package net.corda.core.contracts
import net.corda.core.contracts.clauses.Clause

View File

@ -325,7 +325,7 @@ public class JavaCommercialPaper implements Contract {
@Suspendable
public void generateRedeem(TransactionBuilder tx, StateAndRef<State> paper, VaultService vault) throws InsufficientBalanceException {
vault.generateSpend(tx, StructuresKt.withoutIssuer(paper.getState().getData().getFaceValue()), paper.getState().getData().getOwner(), null);
vault.generateSpend(tx, Structures.withoutIssuer(paper.getState().getData().getFaceValue()), paper.getState().getData().getOwner(), null);
tx.addInputState(paper);
tx.addCommand(new Command<>(new Commands.Redeem(), paper.getState().getData().getOwner().getOwningKey()));
}