This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 829cfb1911373f99d02981a2b43e0875054e7b7f
Author: percyashu <[email protected]>
AuthorDate: Mon Jun 8 01:50:45 2020 +0100

    FINERACT-822 enable EqualsGetClass error
---
 .../service/JournalEntryWritePlatformServiceJpaRepositoryImpl.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryWritePlatformServiceJpaRepositoryImpl.java
 
b/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryWritePlatformServiceJpaRepositoryImpl.java
index 4969efe..f4e9db8 100755
--- 
a/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryWritePlatformServiceJpaRepositoryImpl.java
+++ 
b/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryWritePlatformServiceJpaRepositoryImpl.java
@@ -773,7 +773,7 @@ public class 
JournalEntryWritePlatformServiceJpaRepositoryImpl implements Journa
 
         @Override
         public boolean equals(Object obj) {
-            if (!(obj instanceof 
JournalEntryWritePlatformServiceJpaRepositoryImpl)) {
+            if (!(obj instanceof OfficeCurrencyKey)) {
                 return false;
             }
             OfficeCurrencyKey copy = (OfficeCurrencyKey) obj;

Reply via email to