This pull request is focused on resolving occurrences of Sonar rule
squid:S2864 - “"entrySet()" should be iterated when both the key and value are needed ”.
squid:S1066 - “Collapsible "if" statements should be merged”.
squid:S1155 - “Collection.isEmpty() should be used to test for emptiness”.
This pull request is focused on resolving occurrences of Sonar rule squid:S2864 - “"entrySet()" should be iterated when both the key and value are needed ”. squid:S1066 - “Collapsible "if" statements should be merged”. squid:S1155 - “Collection.isEmpty() should be used to test for emptiness”.
You can find more information about the issue here: https://dev.eclipse.org/sonar/rules/show/squid:S2864 https://dev.eclipse.org/sonar/rules/show/squid:S1066 https://dev.eclipse.org/sonar/rules/show/squid:S1155
Please let me know if you have any questions. Ayman Abdelghany.