Fix comments

This commit is contained in:
ghubstan 2020-06-20 20:24:49 -03:00
parent 1756258e81
commit 4778976b6b
No known key found for this signature in database
GPG key ID: E35592D6800A861E

View file

@ -94,16 +94,18 @@ public class OfferInfo implements Payload {
public static OfferInfo fromProto(bisq.proto.grpc.OfferInfo proto) { 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(), return new OfferInfo(proto.getOfferPayload().getId(),
proto.getOfferPayload().getDate()); proto.getOfferPayload().getDate());
*/ */
return null; return null;
} }
/** /*
* OfferInfoBuilder helps avoid bungling use of the OfferInfo constructor * OfferInfoBuilder helps avoid bungling use of a large OfferInfo constructor
* argument list, which is large, of all one type, and not wise to overload. * 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 { public static class OfferInfoBuilder {
private String id; private String id;