You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by pg...@apache.org on 2019/09/27 14:48:30 UTC

svn propchange: r1867635 - svn:log

Author: pgil
Revision: 1867635
Modified property: svn:log

Modified: svn:log at Fri Sep 27 14:48:30 2019
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Fri Sep 27 14:48:30 2019
@@ -1,5 +1,10 @@
 Improved: Refactor UelFunctions.java to remove error management via Exception 
 (OFBIZ-11213)
 
-This refacto was done to avoid logging stackTrace exception, when it is possible 
-to manage it without exception.
+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'.