IGNITE-7476 Fixed compilation
authorAlexey Goncharuk <alexey.goncharuk@gmail.com>
Fri, 9 Feb 2018 17:32:38 +0000 (20:32 +0300)
committerAlexey Goncharuk <alexey.goncharuk@gmail.com>
Fri, 9 Feb 2018 17:32:38 +0000 (20:32 +0300)
modules/core/src/main/java/org/apache/ignite/internal/managers/discovery/GridDiscoveryManager.java

index e731c52..7f844ea 100644 (file)
@@ -1066,7 +1066,7 @@ public class GridDiscoveryManager extends GridManagerAdapter<DiscoverySpi> {
                         Map<Integer, CacheMetrics> metrics = U.newHashMap(caches.size());
 
                         for (GridCacheAdapter<?, ?> cache : caches) {
-                            if (cache.context().isStatisticsEnabled() &&
+                            if (cache.context().statisticsEnabled() &&
                                 cache.context().started() &&
                                 cache.context().affinity().affinityTopologyVersion().topologyVersion() > 0) {