Fine tuning code quality

- remove AvoidInstantiatingObjectsInLoops PMD rule