fix: final class error

This commit is contained in:
Hemant Gupta
2022-07-25 11:31:07 +02:00
committed by Arnold Gálovics
parent 4dada53f8d
commit d6f8ef8b74
@@ -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;
}