[JENKINS-36720]: Fixed some Spotbugs issues (#4180)
* [JENKINS-36720]: Fixed Spotbugs issues WMI_WRONG_MAP_ITERATOR and OS_OPEN_STREAM in core * merged try with resources with try finally * reverted auto format from IDE * reverted auto format from IDE * use Util.fileToPath() as suggested to remove catch block * merged try statements * merged try statements * reverted some whitespace fixes * reverted another whitespace fix * Apply suggestions from code review Co-Authored-By: Oleg Nenashev <o.v.nenashev@gmail.com> * reverted change * reverted change * reverted change Co-authored-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Please register or sign in to comment