From 62a2aa85434213493c6d5225de9b694123ad67c4 Mon Sep 17 00:00:00 2001 From: ghubstan <36207203+ghubstan@users.noreply.github.com> Date: Tue, 1 Dec 2020 15:55:53 -0300 Subject: [PATCH] Don't be so polite --- .../apitest/method/payment/AbstractPaymentAccountTest.java | 2 +- .../src/main/java/bisq/core/api/model/PaymentAccountForm.java | 4 ++-- .../java/bisq/core/api/model/PaymentAccountTypeAdapter.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apitest/src/test/java/bisq/apitest/method/payment/AbstractPaymentAccountTest.java b/apitest/src/test/java/bisq/apitest/method/payment/AbstractPaymentAccountTest.java index 6e9475bb97..913ddad30c 100644 --- a/apitest/src/test/java/bisq/apitest/method/payment/AbstractPaymentAccountTest.java +++ b/apitest/src/test/java/bisq/apitest/method/payment/AbstractPaymentAccountTest.java @@ -42,7 +42,7 @@ import bisq.apitest.method.MethodTest; public class AbstractPaymentAccountTest extends MethodTest { static final String PROPERTY_NAME_COMMENT = "_COMMENT_"; - static final String PROPERTY_VALUE_COMMENT = "Please do not edit the paymentMethodId field."; + static final String PROPERTY_VALUE_COMMENT = "Do not manually edit the paymentMethodId field."; static final String PROPERTY_NAME_PAYMENT_METHOD_ID = "paymentMethodId"; diff --git a/core/src/main/java/bisq/core/api/model/PaymentAccountForm.java b/core/src/main/java/bisq/core/api/model/PaymentAccountForm.java index b82656b433..8496d426be 100644 --- a/core/src/main/java/bisq/core/api/model/PaymentAccountForm.java +++ b/core/src/main/java/bisq/core/api/model/PaymentAccountForm.java @@ -71,7 +71,7 @@ import static java.nio.charset.StandardCharsets.UTF_8; * get the json Hal Cash payment account form: *
* { - * "_COMMENT_": "Please do not edit the paymentMethodId field.", + * "_COMMENT_": "Do not manually edit the paymentMethodId field.", * "paymentMethodId": "HAL_CASH", * "accountName": "Your accountname", * "mobileNr": "Your mobilenr" @@ -82,7 +82,7 @@ import static java.nio.charset.StandardCharsets.UTF_8; * (2) Save the Hal Cash payment account form to disk, and edit it: ** { - * "_COMMENT_": "Please do not edit the paymentMethodId field.", + * "_COMMENT_": "Do not manually edit the paymentMethodId field.", * "paymentMethodId": "HAL_CASH", * "accountName": "Hal Cash Acct", * "mobileNr": "798 123 456" diff --git a/core/src/main/java/bisq/core/api/model/PaymentAccountTypeAdapter.java b/core/src/main/java/bisq/core/api/model/PaymentAccountTypeAdapter.java index 23b8f567c9..66b0d2cf03 100644 --- a/core/src/main/java/bisq/core/api/model/PaymentAccountTypeAdapter.java +++ b/core/src/main/java/bisq/core/api/model/PaymentAccountTypeAdapter.java @@ -255,7 +255,7 @@ class PaymentAccountTypeAdapter extends TypeAdapter{ account, account.getPaymentMethod().getId()); out.name("_COMMENT_"); - out.value("Please do not edit the paymentMethodId field."); + out.value("Do not manually edit the paymentMethodId field."); out.name("paymentMethodId"); out.value(account.getPaymentMethod().getId());