This is an automated email from the ASF dual-hosted git repository. jleroux pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push: new 98305a46db Reverted: String to numeric conversion does not support non-breaking spaces (OFBIZ-13168) 98305a46db is described below commit 98305a46dbf462498a84edc2769bdef922b8d218 Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Thu Jan 2 11:18:52 2025 +0100 Reverted: String to numeric conversion does not support non-breaking spaces (OFBIZ-13168) Reverts previous commit Despite https://github.com/apache/ofbiz-framework/pull/849/files Exception is needed, when is not enough I think I saw that before :/ --- .../base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java b/framework/base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java index ae3751e990..0a0318d5ff 100644 --- a/framework/base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java +++ b/framework/base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java @@ -301,7 +301,7 @@ public class ObjectTypeTests { } @Test - public void testString() throws GeneralException { + public void testString() throws GeneralException, Exception { simpleTypeOrObjectConvertTest("String->String", "one", "String", "one"); simpleTypeOrObjectConvertTest("String->String", "one", "java.lang.String", "one"); simpleTypeOrObjectConvertTestSingleMulti("empty-String->anything", "", new String[] {"List", "Map"}, null);