Apply code review suggestions.

This commit is contained in:
jmacxx 2022-12-08 08:16:11 -06:00
parent 7ec86c3dc3
commit 6f8bb00704
No known key found for this signature in database
GPG Key ID: 155297BABFE94A1B
2 changed files with 3 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public class OfferFilterService {
private final FilterManager filterManager;
private final AccountAgeWitnessService accountAgeWitnessService;
private final Map<String, Boolean> insufficientCounterpartyTradeLimitCache = new HashMap<>();
private Map<String, Boolean> myInsufficientTradeLimitCache = new HashMap<>();
private final Map<String, Boolean> myInsufficientTradeLimitCache = new HashMap<>();
@Inject
public OfferFilterService(User user,
@ -206,6 +206,6 @@ public class OfferFilterService {
}
public void resetTradeLimitCache() {
myInsufficientTradeLimitCache = new HashMap<>();
myInsufficientTradeLimitCache.clear();
}
}

View File

@ -408,6 +408,7 @@ popup.warning.tradeLimitDueAccountAgeRestriction.seller=The allowed trade amount
- The time since signing of the buyer''s account is not at least 30 days\n\
- The payment method for this offer is considered risky for bank chargebacks\n\n{1}
popup.warning.tradeLimitDueAccountAgeRestriction.buyer=The allowed trade amount is limited to {0} because of security restrictions based on the following criteria:\n\
- User-defined trade limit\n\
- Your account has not been signed by an arbitrator or a peer\n\
- The time since signing of your account is not at least 30 days\n\
- The payment method for this offer is considered risky for bank chargebacks\n\n{1}