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:
This commit is contained in:
committed by
Adam Saghy
parent
ce5c4d36b4
commit
86832c927b
+1
-1
@@ -48,7 +48,7 @@ public enum FinancialActivityAccountsJsonInputParams {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return name().toString().replaceAll("_", " ");
|
return name().replace("_", " ");
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getValue() {
|
public String getValue() {
|
||||||
|
|||||||
Reference in New Issue
Block a user