Hello, guys.

public interface DiscoverySpi extends IgniteSpi {
....
    TcpDiscoverySpi setDataExchange(DiscoverySpiDataExchange var1);

    TcpDiscoverySpi setMetricsProvider(DiscoveryMetricsProvider var1);
...
}

Two methods of DiscoverySpi returns concrete implementation.
I think we should return interface, not implementation from this methods
Or why we need an interface?

I can provide simple patch to fix this issue.

-- 
Nikolay Izhikov
[email protected]

Reply via email to