mirror of
https://github.com/corda/corda.git
synced 2025-05-02 16:53:22 +00:00
Tyop :-/
This commit is contained in:
parent
68e8f32462
commit
cb12770b9c
@ -41,6 +41,11 @@ public class JavaCommercialPaper implements Contract {
|
|||||||
this.maturityDate = maturityDate;
|
this.maturityDate = maturityDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public State copy() {
|
||||||
|
State ret = new State(this.issuance, this.owner, this.faceValue, this.maturityDate);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public PartyReference getIssuance() {
|
public PartyReference getIssuance() {
|
||||||
return issuance;
|
return issuance;
|
||||||
}
|
}
|
||||||
@ -108,7 +113,7 @@ public class JavaCommercialPaper implements Contract {
|
|||||||
public static class Issue extends Commands {
|
public static class Issue extends Commands {
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(Object obj) {
|
public boolean equals(Object obj) {
|
||||||
return obj instanceof Redeem;
|
return obj instanceof Issue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user