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:
[email protected]


With regards,
Apache Git Services

Reply via email to