hazelcast/hazelcast — pull request #457 by notz (2013-04-09 15:45:39+00:00)
Title: Hazelcast Client NearCache is only working if Maximum Size is defined which is not default

Hazelcast & Guava have a different behaviour if maximum cache size is zero (Hazelcast default). Hazelcast has no limit and Guava Cache is not working at all.

This patch sets the maximum size only if the size is greater than zero.