nearCacheConfig.setCacheLocalEntries(true);
nearCacheConfig.setName(mapName);
ClientConfig clientConfig = new ClientConfig();
clientConfig.setNativeMemoryConfig(memoryConfig);
clientConfig.addNearCacheConfig(nearCacheConfig);
<BUG>if (!LICENSE_KEY.isEmpty()) {
clientConfig.setLicenseKey(LICENSE_KEY);

}</BUG>
return clientConfig;

nearCacheConfig.setCacheLocalEntries(true);
nearCacheConfig.setName(mapName);
ClientConfig clientConfig = new ClientConfig();
clientConfig.setNativeMemoryConfig(memoryConfig);
clientConfig.addNearCacheConfig(nearCacheConfig);
clientConfig.setLicenseKey(ENTERPRISE_LICENSE_KEY);
return clientConfig;
