From 291a5d57c4c5e1f2f7c69754adef0df2d7165cdc Mon Sep 17 00:00:00 2001 From: Nicholas Tinsley Date: Fri, 26 May 2023 10:20:26 -0400 Subject: [PATCH] Replace em dash in javadoc with ASCII-safe hyphen. --- .../api/services/DonationsService.java | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/libsignal/service/src/main/java/org/whispersystems/signalservice/api/services/DonationsService.java b/libsignal/service/src/main/java/org/whispersystems/signalservice/api/services/DonationsService.java index 7135e86e0e..5f79508827 100644 --- a/libsignal/service/src/main/java/org/whispersystems/signalservice/api/services/DonationsService.java +++ b/libsignal/service/src/main/java/org/whispersystems/signalservice/api/services/DonationsService.java @@ -215,9 +215,9 @@ public class DonationsService { /** * Creates a PayPal one-time payment and returns the approval URL * Response Codes - * 200 — success - * 400 — request error - * 409 — level requires a valid currency/amount combination that does not match + * 200 - success + * 400 - request error + * 409 - level requires a valid currency/amount combination that does not match * * @param locale User locale for proper language presentation * @param currencyCode 3 letter currency code of the desired currency @@ -250,9 +250,9 @@ public class DonationsService { /** * Confirms a PayPal one-time payment and returns the paymentId for receipt credentials * Response Codes - * 200 — success - * 400 — request error - * 409 — level requires a valid currency/amount combination that does not match + * 200 - success + * 400 - request error + * 409 - level requires a valid currency/amount combination that does not match * * @param currency 3 letter currency code of the desired currency * @param amount Stringified minimum precision amount @@ -279,9 +279,9 @@ public class DonationsService { * Sets up a payment method via PayPal for recurring charges. * * Response Codes - * 200 — success - * 403 — subscriberId password mismatches OR account authentication is present - * 404 — subscriberId is not found or malformed + * 200 - success + * 403 - subscriberId password mismatches OR account authentication is present + * 404 - subscriberId is not found or malformed * * @param locale User locale * @param subscriberId User subscriber id @@ -303,10 +303,10 @@ public class DonationsService { * Sets the given payment method as the default in PayPal * * Response Codes - * 200 — success - * 403 — subscriberId password mismatches OR account authentication is present - * 404 — subscriberId is not found or malformed - * 409 — subscriber record is missing customer ID - must call POST /v1/subscription/{subscriberId}/create_payment_method first + * 200 - success + * 403 - subscriberId password mismatches OR account authentication is present + * 404 - subscriberId is not found or malformed + * 409 - subscriber record is missing customer ID - must call POST /v1/subscription/{subscriberId}/create_payment_method first * * @param subscriberId User subscriber id * @param paymentMethodId Payment method id to make default