This is an automated email from the ASF dual-hosted git repository.
dixitdeepak pushed a commit to branch OFBIZ-5199-Complex-Alias-default-field
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to
refs/heads/OFBIZ-5199-Complex-Alias-default-field by this push:
new 5fd3ba260c Adjusted the indentation of the NUMERIC_FIELD_TYPES
declaration to match the project’s code formatting conventions.
5fd3ba260c is described below
commit 5fd3ba260c14ea622d0738f26b501a76741c5f73
Author: Deepak Dixit <[email protected]>
AuthorDate: Wed Jul 1 11:13:17 2026 +0530
Adjusted the indentation of the NUMERIC_FIELD_TYPES declaration to match
the project’s code formatting conventions.
---
.../java/org/apache/ofbiz/entity/model/ModelViewEntity.java | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git
a/framework/entity/src/main/java/org/apache/ofbiz/entity/model/ModelViewEntity.java
b/framework/entity/src/main/java/org/apache/ofbiz/entity/model/ModelViewEntity.java
index 25cefcbf5d..7cbe2311eb 100644
---
a/framework/entity/src/main/java/org/apache/ofbiz/entity/model/ModelViewEntity.java
+++
b/framework/entity/src/main/java/org/apache/ofbiz/entity/model/ModelViewEntity.java
@@ -61,13 +61,12 @@ public class ModelViewEntity extends ModelEntity {
private static final Set<String> NUMERIC_FUNCTION_SET = new HashSet<>();
// names of functions that return a numeric type
// OFBiz field types that map to numeric Java types — default values for
these do not need SQL quoting
private static final Set<String> NUMERIC_FIELD_TYPES = Set.of(
- "numeric",
- "integer",
- "floating-point",
- "fixed-point",
- "currency-amount",
- "currency-precise"
- );
+ "numeric",
+ "integer",
+ "floating-point",
+ "fixed-point",
+ "currency-amount",
+ "currency-precise");
static {
FUNCTION_PREFIX_MAP.put("min", "MIN(");
FUNCTION_PREFIX_MAP.put("max", "MAX(");