Can this be computeIfAbsent? I think this is just:
public <C> Cache<C> createCache<String mechanism, Class<C> credentialClass)
{
return cacheMap.computeIfAbsent(mechanism, k -> new
Cache<>(credentialClass));
}[ Full content available at: https://github.com/apache/kafka/pull/5427 ] This message was relayed via gitbox.apache.org for [email protected]
