mirror of
https://github.com/corda/corda.git
synced 2025-02-20 09:26:41 +00:00
Adding Issue in Commands class to mirror Kotlin code
This commit is contained in:
parent
882217fa9d
commit
ca0f5ff9f5
@ -105,6 +105,12 @@ public class JavaCommercialPaper implements Contract {
|
|||||||
return obj instanceof Redeem;
|
return obj instanceof Redeem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public static class Issue extends Commands {
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object obj) {
|
||||||
|
return obj instanceof Redeem;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user