Source:
<code>@Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception { assertNotNull(inlineSize); for (QueryIndex index : indexes) index.setInlineSize(inlineSize); IgniteConfiguration igniteCfg = super.getConfiguration(igniteInstanceName); igniteCfg.setConsistentId(igniteInstanceName); if (igniteInstanceName.startsWith(CLIENT_NAME)) { igniteCfg.setClientMode(true); <START> if (clntLog != null) <END> igniteCfg.setGridLogger(clntLog); } else { if (srvLog != null) igniteCfg.setGridLogger(srvLog); } LinkedHashMap<String, String> fields = new LinkedHashMap<>(); fields.put("keyStr", String.class.getName()); fields.put("keyLong", Long.class.getName()); fields.put("keyPojo", Pojo.class.getName()); fields.put("valStr", String.class.getName()); fields.put("valLong", Long.class.getName()); fields.put("valPojo", Pojo.class.getName()); if (!createIdx) indexes = Collections.emptyList(); CacheConfiguration<Key, Val> ccfg = new CacheConfiguration<Key, Val>(DEFAULT_CACHE_NAME) .setAffinity(new RendezvousAffinityFunction(false, 32)) .setQueryEntities(Collections.singleton( new QueryEntity() .setKeyType(Key.class.getName()) .setValueType(Val.class.getName()) .setFields(fields) .setKeyFields(new HashSet<>(Arrays.asList("keyStr", "keyLong", "keyPojo"))) .setIndexes(indexes) .setAliases(Collections.singletonMap(QueryUtils.KEY_FIELD_NAME, "pk_id")) )) .setSqlIndexMaxInlineSize(inlineSize); if (createStaticCache) igniteCfg.setCacheConfiguration(ccfg); if (isPersistenceEnabled) { igniteCfg.setDataStorageConfiguration(new DataStorageConfiguration() .setDefaultDataRegionConfiguration( new DataRegionConfiguration().setPersistenceEnabled(true).setMaxSize(10 * 1024 * 1024) ) ); } return igniteCfg; }</code><technical_language>pls, Ignite format of code</technical_language>

Target:
@Override protected IgniteConfiguration getConfiguration(String igniteInstanceName) throws Exception { assertNotNull(inlineSize); for (QueryIndex index : indexes) index.setInlineSize(inlineSize); IgniteConfiguration igniteCfg = super.getConfiguration(igniteInstanceName); igniteCfg.setConsistentId(igniteInstanceName); if (igniteInstanceName.startsWith(CLIENT_NAME)) { igniteCfg.setClientMode(true); if (clientLog != null) igniteCfg.setGridLogger(clientLog); } else { if (srvLog != null) igniteCfg.setGridLogger(srvLog); } LinkedHashMap<String, String> fields = new LinkedHashMap<>(); fields.put("keyStr", String.class.getName()); fields.put("keyLong", Long.class.getName()); fields.put("keyPojo", Pojo.class.getName()); fields.put("valStr", String.class.getName()); fields.put("valLong", Long.class.getName()); fields.put("valPojo", Pojo.class.getName()); if (!createIdx) indexes = Collections.emptyList(); CacheConfiguration<Key, Val> ccfg = new CacheConfiguration<Key, Val>(DEFAULT_CACHE_NAME) .setAffinity(new RendezvousAffinityFunction(false, 32)) .setQueryEntities(Collections.singleton( new QueryEntity() .setKeyType(Key.class.getName()) .setValueType(Val.class.getName()) .setFields(fields) .setKeyFields(new HashSet<>(Arrays.asList("keyStr", "keyLong", "keyPojo"))) .setIndexes(indexes) .setAliases(Collections.singletonMap(QueryUtils.KEY_FIELD_NAME, "pk_id")) )) .setSqlIndexMaxInlineSize(inlineSize); if (createStaticCache) igniteCfg.setCacheConfiguration(ccfg); if (isPersistenceEnabled) { igniteCfg.setDataStorageConfiguration(new DataStorageConfiguration() .setDefaultDataRegionConfiguration( new DataRegionConfiguration().setPersistenceEnabled(true).setMaxSize(10 * 1024 * 1024) ) ); } return igniteCfg; }