/[Apache-SVN]
ViewVC logotype

Revision 1867635


Jump to revision: Previous Next
Author: pgil
Date: Fri Sep 27 13:52:43 2019 UTC (4 years, 7 months ago)
Changed paths: 1
Log Message:
Improved: Refactor UelFunctions.java to remove error management via Exception 
(OFBIZ-11213)

This refactoring was initiated since using UelFunction::getSize throws 
ClassCastException and log a consequent unneeded stack trace to test 
Object class type. The log is unnecessary, because it is the result of 
each supported class cast trial.

This issue show up that lot of possible NPE were not checked against,
but catched by 'Exception'.

Changed paths

Path Details
Directoryofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/string/UelFunctions.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26