From 82975c736d7e03668969f1eaed6f1862171bd334 Mon Sep 17 00:00:00 2001 From: John Blum Date: Mon, 3 Dec 2018 13:32:39 -0800 Subject: [PATCH] Remove 'default' Pool Properties accessor, which conflicts with the 'DEFAULT' Pool configuration. Resolves gh-14. --- .../configuration/support/PoolProperties.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/spring-geode-autoconfigure/src/main/java/org/springframework/geode/boot/autoconfigure/configuration/support/PoolProperties.java b/spring-geode-autoconfigure/src/main/java/org/springframework/geode/boot/autoconfigure/configuration/support/PoolProperties.java index b128a00d..a1ae8647 100644 --- a/spring-geode-autoconfigure/src/main/java/org/springframework/geode/boot/autoconfigure/configuration/support/PoolProperties.java +++ b/spring-geode-autoconfigure/src/main/java/org/springframework/geode/boot/autoconfigure/configuration/support/PoolProperties.java @@ -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; }