jare
jare copied to clipboard
Refactored changes to balance responsibility and reduce code duplication
- Created respective classes for providing ClassUtility depending on the data type
- Child classes of GenericAction, i.e., MathAction and DateAction have same implementation for setValue and setValue implementation is pulled up to the parent layer
- Extract MathActionTrigonometry, MathActionArithmeticOperations and MathActionOperations classes for methods relevant to Arithmetic, Trigonometry and Operations respectively.
- Extract checkNullForConcat method for duplicate code to check null in concatValues
- Rename XmlRule variables as per responsibility and behaviour