svn propchange: r1867635 - svn:log

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn propchange: r1867635 - svn:log

pgil
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'.