Skip to content

Commit

Permalink
Apply codacy suggestion (this time a good one ;-))
Browse files Browse the repository at this point in the history
  • Loading branch information
chimp1984 committed Sep 7, 2020
1 parent 7c480ba commit a4b43f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/bisq/core/filter/FilterManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ public boolean arePeersPaymentAccountDataBanned(PaymentAccountPayload paymentAcc
Method method = paymentAccountPayload.getClass().getMethod(paymentAccountFilter.getGetMethodName());
// We invoke getter methods (no args), e.g. getHolderName
String valueFromInvoke = (String) method.invoke(paymentAccountPayload);
return valueFromInvoke.toLowerCase().equals(paymentAccountFilter.getValue().toLowerCase());
return valueFromInvoke.equalsIgnoreCase(paymentAccountFilter.getValue());
} catch (Throwable e) {
log.error(e.getMessage());
return false;
Expand Down

0 comments on commit a4b43f6

Please sign in to comment.