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

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

commit d6f8ef8b745e97950d75e1eb23b29e1dcc407937
Author: Hemant Gupta <[email protected]>
AuthorDate: Mon Jul 25 13:17:43 2022 +0530

    fix: final class error
---
 .../financialactivityaccount/domain/FinancialActivityAccount.java  | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git 
a/fineract-provider/src/main/java/org/apache/fineract/accounting/financialactivityaccount/domain/FinancialActivityAccount.java
 
b/fineract-provider/src/main/java/org/apache/fineract/accounting/financialactivityaccount/domain/FinancialActivityAccount.java
index ad9484cec..257c5b8b6 100644
--- 
a/fineract-provider/src/main/java/org/apache/fineract/accounting/financialactivityaccount/domain/FinancialActivityAccount.java
+++ 
b/fineract-provider/src/main/java/org/apache/fineract/accounting/financialactivityaccount/domain/FinancialActivityAccount.java
@@ -25,6 +25,7 @@ import javax.persistence.JoinColumn;
 import javax.persistence.ManyToOne;
 import javax.persistence.Table;
 import lombok.AccessLevel;
+import lombok.AllArgsConstructor;
 import lombok.Getter;
 import lombok.NoArgsConstructor;
 import org.apache.fineract.accounting.glaccount.domain.GLAccount;
@@ -33,6 +34,7 @@ import 
org.apache.fineract.infrastructure.core.domain.AbstractPersistableCustom;
 @Entity
 @Table(name = "acc_gl_financial_activity_account")
 @NoArgsConstructor(access = AccessLevel.PROTECTED)
+@AllArgsConstructor
 @Getter
 public class FinancialActivityAccount extends AbstractPersistableCustom {
 
@@ -47,11 +49,6 @@ public class FinancialActivityAccount extends 
AbstractPersistableCustom {
         return new FinancialActivityAccount(glAccount, financialAccountType);
     }
 
-    private FinancialActivityAccount(final GLAccount glAccount, final int 
financialAccountType) {
-        this.glAccount = glAccount;
-        this.financialActivityType = financialAccountType;
-    }
-
     public void updateGlAccount(final GLAccount glAccount) {
         this.glAccount = glAccount;
     }

Reply via email to