Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.8.0-BETA
-
None
Description
In class PropertyUtilsBean there are several places where the following statement is called:
Object value = invokeMethod(readMethod, bean, new Object[0]);
The statement could be replace with the following statement, whithout creating the unused Object array (as we know invoke will be called of a method without method parameters):
Object value = invokeMethod(readMethod, bean, null);