[core, Cassandra, gemfire, mapkeeper] Fixing squid:S2864 - "entrySet()" should be iterated when both the key and value are needed