mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
Fix comments
This commit is contained in:
parent
1756258e81
commit
4778976b6b
1 changed files with 6 additions and 4 deletions
|
@ -94,16 +94,18 @@ public class OfferInfo implements Payload {
|
|||
|
||||
public static OfferInfo fromProto(bisq.proto.grpc.OfferInfo proto) {
|
||||
/*
|
||||
TODO (needed by createoffer)
|
||||
TODO (will be needed by the createoffer method)
|
||||
return new OfferInfo(proto.getOfferPayload().getId(),
|
||||
proto.getOfferPayload().getDate());
|
||||
*/
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* OfferInfoBuilder helps avoid bungling use of the OfferInfo constructor
|
||||
* argument list, which is large, of all one type, and not wise to overload.
|
||||
/*
|
||||
* OfferInfoBuilder helps avoid bungling use of a large OfferInfo constructor
|
||||
* argument list. If consecutive argument values of the same type are not
|
||||
* ordered correctly, the compiler won't complain but the resulting bugs could
|
||||
* be hard to find and fix.
|
||||
*/
|
||||
public static class OfferInfoBuilder {
|
||||
private String id;
|
||||
|
|
Loading…
Add table
Reference in a new issue