The Great JCache Pull request :)

What is the purpose of this code? I see this in more places and its purpose it unclear to me. If the keyset can't deal with null, it will throw an NullPointerException of its own. So what is then the purpose if your if statement?

The same goes for the map.value().contains(null).