restore some unnecessary edits

This commit is contained in:
U65535F 2025-02-27 16:07:53 +05:30
parent f6d0443ba3
commit 903cda2668
2 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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"))