mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 07:15:54 -04:00
restore some unnecessary edits
This commit is contained in:
parent
f6d0443ba3
commit
903cda2668
@ -303,7 +303,6 @@ public abstract class PaymentAccount implements PersistablePayload {
|
||||
// last moment we could apply some special handling if needed (e.g. as it happens for Revolut)
|
||||
}
|
||||
|
||||
|
||||
public String getPreTradeMessage(boolean isBuyer) {
|
||||
if (isBuyer) {
|
||||
return getMessageForBuyer();
|
||||
@ -378,6 +377,7 @@ public abstract class PaymentAccount implements PersistablePayload {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
public PaymentAccountForm toForm() {
|
||||
|
||||
// convert to json map
|
||||
Map<String, Object> jsonMap = gsonBuilder.create().fromJson(toJson(), (Type) Object.class);
|
||||
|
||||
|
@ -156,11 +156,11 @@ class PaymentAccountTypeAdapter extends TypeAdapter<PaymentAccount> {
|
||||
fieldSettersMap.forEach((field, value) -> {
|
||||
try {
|
||||
if (value.isPresent()) {
|
||||
log.debug("Appending form field: {} {} {} setter: {}",
|
||||
getVisibilityModifierAsString(field),
|
||||
field.getType().getSimpleName(),
|
||||
field.getName(),
|
||||
value);
|
||||
log.debug("Append form with settable field: {} {} {} setter: {}",
|
||||
getVisibilityModifierAsString(field),
|
||||
field.getType().getSimpleName(),
|
||||
field.getName(),
|
||||
value);
|
||||
String fieldName = field.getName();
|
||||
out.name(fieldName);
|
||||
if (fieldName.equals("country"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user