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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 86832c927 This pull request addresses 
[FINERACT-2081](https://issues.apache.org/jira/browse/FINERACT-2081).
86832c927 is described below

commit 86832c927b5f5b7c9dc9faa0c265f9ae18a25cee
Author: Harsh-Srivastav123 
<[email protected]>
AuthorDate: Sun Mar 2 13:03:00 2025 +0530

    This pull request addresses 
[FINERACT-2081](https://issues.apache.org/jira/browse/FINERACT-2081).
    
    The `toString()` method in several Enum classes has been simplified. The 
previous implementation:
---
 .../api/FinancialActivityAccountsJsonInputParams.java                   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/fineract-accounting/src/main/java/org/apache/fineract/accounting/financialactivityaccount/api/FinancialActivityAccountsJsonInputParams.java
 
b/fineract-accounting/src/main/java/org/apache/fineract/accounting/financialactivityaccount/api/FinancialActivityAccountsJsonInputParams.java
index 4d4033635..18e8b6a33 100644
--- 
a/fineract-accounting/src/main/java/org/apache/fineract/accounting/financialactivityaccount/api/FinancialActivityAccountsJsonInputParams.java
+++ 
b/fineract-accounting/src/main/java/org/apache/fineract/accounting/financialactivityaccount/api/FinancialActivityAccountsJsonInputParams.java
@@ -48,7 +48,7 @@ public enum FinancialActivityAccountsJsonInputParams {
 
     @Override
     public String toString() {
-        return name().toString().replaceAll("_", " ");
+        return name().replace("_", " ");
     }
 
     public String getValue() {

Reply via email to