refactoring

pull/6384/head
Nikita Koksharov 3 weeks ago
parent 436804f2c1
commit 5fc0963b76

@ -135,7 +135,6 @@ public class BaseConfig<T extends BaseConfig<T>> {
setClientName(config.getClientName()); setClientName(config.getClientName());
setConnectTimeout(config.getConnectTimeout()); setConnectTimeout(config.getConnectTimeout());
setIdleConnectionTimeout(config.getIdleConnectionTimeout()); setIdleConnectionTimeout(config.getIdleConnectionTimeout());
setSslEnableEndpointIdentification(config.isSslEnableEndpointIdentification());
setSslProvider(config.getSslProvider()); setSslProvider(config.getSslProvider());
setSslTruststore(config.getSslTruststore()); setSslTruststore(config.getSslTruststore());
setSslTruststorePassword(config.getSslTruststorePassword()); setSslTruststorePassword(config.getSslTruststorePassword());

@ -272,7 +272,6 @@ public class MasterSlaveConnectionManager implements ConnectionManager {
MasterSlaveServersConfig c = new MasterSlaveServersConfig(); MasterSlaveServersConfig c = new MasterSlaveServersConfig();
c.setPingConnectionInterval(cfg.getPingConnectionInterval()); c.setPingConnectionInterval(cfg.getPingConnectionInterval());
c.setSslEnableEndpointIdentification(cfg.isSslEnableEndpointIdentification());
c.setSslProvider(cfg.getSslProvider()); c.setSslProvider(cfg.getSslProvider());
c.setSslKeystoreType(cfg.getSslKeystoreType()); c.setSslKeystoreType(cfg.getSslKeystoreType());
c.setSslTruststore(cfg.getSslTruststore()); c.setSslTruststore(cfg.getSslTruststore());

@ -32,7 +32,6 @@ public class SingleConnectionManager extends MasterSlaveConnectionManager {
MasterSlaveServersConfig newconfig = new MasterSlaveServersConfig(); MasterSlaveServersConfig newconfig = new MasterSlaveServersConfig();
newconfig.setPingConnectionInterval(cfg.getPingConnectionInterval()); newconfig.setPingConnectionInterval(cfg.getPingConnectionInterval());
newconfig.setSslEnableEndpointIdentification(cfg.isSslEnableEndpointIdentification());
newconfig.setSslProvider(cfg.getSslProvider()); newconfig.setSslProvider(cfg.getSslProvider());
newconfig.setSslKeystoreType(cfg.getSslKeystoreType()); newconfig.setSslKeystoreType(cfg.getSslKeystoreType());
newconfig.setSslTruststore(cfg.getSslTruststore()); newconfig.setSslTruststore(cfg.getSslTruststore());

Loading…
Cancel
Save