mirror of
https://github.com/corda/corda.git
synced 2025-01-29 15:43:55 +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;
|
||||
}
|
||||
}
|
||||
public static class Issue extends Commands {
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return obj instanceof Redeem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user