Skip to content

Commit 7356672

Browse files
committed
fix: lint
1 parent 78571a0 commit 7356672

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

src/main/java/com/easypost/Constants.java

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,21 @@ public abstract class Constants {
2424
public static final String EASYPOST_SUPPORT_EMAIL = "[email protected]";
2525

2626
public abstract static class ErrorMessages {
27-
public static final String EXTERNAL_API_CALL_FAILED = "Could not send card details to %s, please try again later";
27+
public static final String EXTERNAL_API_CALL_FAILED =
28+
"Could not send card details to %s, please try again later";
2829
public static final String ENCODED_ERROR = "Encode error for %s";
2930
public static final String INVALID_API_KEY_TYPE = "Invalid API key type.";
3031
public static final String INVALID_PARAMETER = "Invalid parameter: %s.";
31-
public static final String INVALID_PAYMENT = "The chosen payment method is not a credit card. Please try again.";
32+
public static final String INVALID_PAYMENT =
33+
"The chosen payment method is not a credit card. Please try again.";
3234
public static final String INVALID_WEBHOOK_SIGNATURE = "Webhook does not contain a valid HMAC signature.";
3335
public static final String MISSING_REQUIRED_PARAMETER = "Missing required parameter: %s.";
3436
public static final String NO_OBJECT_FOUND = "No %s found.";
35-
public static final String NO_PAYMENT_METHODS = "No payment methods are set up. Please add a payment method and try again.";
37+
public static final String NO_PAYMENT_METHODS =
38+
"No payment methods are set up. Please add a payment method and try again.";
3639
public static final String API_DID_NOT_RETURN_ERROR_DETAILS = "API did not return error details.";
37-
public static final String WEBHOOK_DOES_NOT_MATCH = "Webhook received did not originate from EasyPost or had a webhook secret mismatch.";
40+
public static final String WEBHOOK_DOES_NOT_MATCH =
41+
"Webhook received did not originate from EasyPost or had a webhook secret mismatch.";
3842

3943
public static final String NO_MORE_PAGES_TO_RETRIEVE = "There are no more pages to retrieve.";
4044
}
@@ -58,13 +62,16 @@ public abstract static class ErrorCodes {
5862

5963
public abstract static class CarrierAccountTypes {
6064
public static final List<String> CARRIER_ACCOUNT_TYPES_WITH_CUSTOM_WORKFLOW = ImmutableList.of(
61-
"FedexAccount", "FedexSmartpostAccount");
65+
"FedexAccount", "FedexSmartpostAccount"
66+
);
6267

6368
public static final List<String> UPS_OAUTH_CARRIER_ACCOUNT_TYPES = ImmutableList.of(
64-
"UpsAccount", "UpsMailInnovationsAccount", "UpsSurepostAccount");
69+
"UpsAccount", "UpsMailInnovationsAccount", "UpsSurepostAccount"
70+
);
6571

6672
public static final List<String> CARRIER_ACCOUNT_TYPES_WITH_CUSTOM_OAUTH = ImmutableList.of(
67-
"AmazonShippingAccount");
73+
"AmazonShippingAccount"
74+
);
6875
}
6976

7077
public abstract static class Http {

0 commit comments

Comments
 (0)