You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by GitBox <gi...@apache.org> on 2019/12/12 23:17:54 UTC

[GitHub] [fineract] awasum commented on a change in pull request #670: FINERACT-702: Integrate SpotBugs and fix over 300 high priority issues

awasum commented on a change in pull request #670: FINERACT-702: Integrate SpotBugs and fix over 300 high priority issues
URL: https://github.com/apache/fineract/pull/670#discussion_r357419609
 
 

 ##########
 File path: fineract-provider/src/main/java/org/apache/fineract/organisation/monetary/data/CurrencyData.java
 ##########
 @@ -97,4 +89,23 @@ private String generateDisplayLabel() {
     public String getName() {
         return name;
     }
+
+    @Override
+    public boolean equals(Object o) {
+        if (this == o) return true;
+        if (!(o instanceof CurrencyData)) return false;
+        CurrencyData that = (CurrencyData) o;
+        return decimalPlaces == that.decimalPlaces &&
+                code.equals(that.code) &&
+                name.equals(that.name) &&
+                inMultiplesOf.equals(that.inMultiplesOf) &&
 
 Review comment:
   Thanks..Will handle this later on Friday.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services