Remove 'default' Pool Properties accessor, which conflicts with the 'DEFAULT' Pool configuration.

Resolves gh-14.
This commit is contained in:
John Blum
2018-12-03 13:32:39 -08:00
parent 0c1ea8e925
commit 82975c736d

View File

@@ -50,22 +50,11 @@ public class PoolProperties {
private long idleTimeout = PoolFactory.DEFAULT_IDLE_TIMEOUT;
private long pingInterval = PoolFactory.DEFAULT_PING_INTERVAL;
private PoolProperties defaultPoolProperties;
private String serverGroup = PoolFactory.DEFAULT_SERVER_GROUP;
private String[] locators = {};
private String[] servers = {};
public synchronized PoolProperties getDefault() {
if (this.defaultPoolProperties == null) {
this.defaultPoolProperties = new PoolProperties();
}
return this.defaultPoolProperties;
}
public int getFreeConnectionTimeout() {
return this.freeConnectionTimeout;
}