}
@SuppressWarnings("deprecation")
private static GlobalConfiguration adapt(org.infinispan.config.GlobalConfiguration global) {
GlobalConfigurationBuilder builder = new GlobalConfigurationBuilder().read(LegacyGlobalConfigurationAdaptor.adapt(global));
return builder.globalJmxStatistics().cacheManagerName(global.getCacheManagerName()).build();
}
private final String defaultCache;
@SuppressWarnings("deprecation")