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
commit cd876a04ad3c9a6af3763b2526e7b8f846db06ef Author: Jacques Le Roux <jacques.le.r...@les7arts.com> AuthorDate: Tue Dec 31 15:56:03 2024 +0100 Improved: String to numeric conversion does not support non-breaking spaces (OFBIZ-13168) Removes redundant useless Exception when GeneralException is used Just an improvement forgot from https://github.com/apache/ofbiz-framework/pull/849/files Also adds a comment about dependencies.gradle in lib/README I'll backport because of that --- .../base/src/test/java/org/apache/ofbiz/base/util/ObjectTypeTests.java | 2 +- lib/README | 2 ++ 2 files changed, 3 insertions(+), 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 0a0318d5ff..ae3751e990 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, Exception { + public void testString() throws GeneralException { simpleTypeOrObjectConvertTest("String->String", "one", "String", "one"); simpleTypeOrObjectConvertTest("String->String", "one", "java.lang.String", "one"); simpleTypeOrObjectConvertTestSingleMulti("empty-String->anything", "", new String[] {"List", "Map"}, null); diff --git a/lib/README b/lib/README index e2b94b2f14..6c1ef68a40 100644 --- a/lib/README +++ b/lib/README @@ -4,3 +4,5 @@ If you want to use a public open source library, it is recommended that you do not place the library in here. Instead declare it as a dependency in your build scripts (build.gradle files) by finding the appropriate library in Maven (https://search.maven.org/) +Note that since 24.09 most dependencies are located in +dependencies.gradle