Skip to content

Commit d6f8ef8

Browse files
hmg65galovics
authored andcommitted
fix: final class error
1 parent 4dada53 commit d6f8ef8

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

fineract-provider/src/main/java/org/apache/fineract/accounting/financialactivityaccount/domain/FinancialActivityAccount.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import javax.persistence.ManyToOne;
2626
import javax.persistence.Table;
2727
import lombok.AccessLevel;
28+
import lombok.AllArgsConstructor;
2829
import lombok.Getter;
2930
import lombok.NoArgsConstructor;
3031
import org.apache.fineract.accounting.glaccount.domain.GLAccount;
@@ -33,6 +34,7 @@
3334
@Entity
3435
@Table(name = "acc_gl_financial_activity_account")
3536
@NoArgsConstructor(access = AccessLevel.PROTECTED)
37+
@AllArgsConstructor
3638
@Getter
3739
public class FinancialActivityAccount extends AbstractPersistableCustom {
3840

@@ -47,11 +49,6 @@ public static FinancialActivityAccount createNew(final GLAccount glAccount, fina
4749
return new FinancialActivityAccount(glAccount, financialAccountType);
4850
}
4951

50-
private FinancialActivityAccount(final GLAccount glAccount, final int financialAccountType) {
51-
this.glAccount = glAccount;
52-
this.financialActivityType = financialAccountType;
53-
}
54-
5552
public void updateGlAccount(final GLAccount glAccount) {
5653
this.glAccount = glAccount;
5754
}

0 commit comments

Comments
 (0)