Skip to content

Commit

Permalink
Improved: String to numeric conversion does not support non-breaking …
Browse files Browse the repository at this point in the history
…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
  • Loading branch information
JacquesLeRoux committed Dec 31, 2024
1 parent 9a524b0 commit cd876a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ public void testArray() throws GeneralException {
}

@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);
Expand Down
2 changes: 2 additions & 0 deletions lib/README
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit cd876a0

Please sign in to comment.