interledger-deprecated / java-crypto-conditions

WE'VE MOVED: This project has moved to Hyperledger Quilt
https://github.com/hyperledger/quilt/tree/master/crypto-conditions
Apache License 2.0
5 stars 12 forks source link

Enforce non-nullability in Classes #59

Closed sappenin closed 7 years ago

sappenin commented 7 years ago

For example, see the constructor of PrefixSha256Fulfillment - can the prefix be null? If so, consider a 2nd constructor. If not, enforce a precondition that the fulfillment cannot be null.

Also, consider subfulfillments as well.

sappenin commented 7 years ago

Fixed by #68