fix test failure
Project: http://git-wip-us.apache.org/repos/asf/geode/repo Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/6302736d Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/6302736d Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/6302736d Branch: refs/heads/feature/GEODE-2632-10 Commit: 6302736d1273e964d092334835a480ca868b3bca Parents: 1361a2f Author: Kirk Lund <[email protected]> Authored: Wed May 3 16:36:20 2017 -0700 Committer: Kirk Lund <[email protected]> Committed: Wed May 3 17:06:26 2017 -0700 ---------------------------------------------------------------------- .../java/org/apache/geode/cache/client/ClientCacheFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/geode/blob/6302736d/geode-core/src/main/java/org/apache/geode/cache/client/ClientCacheFactory.java ---------------------------------------------------------------------- diff --git a/geode-core/src/main/java/org/apache/geode/cache/client/ClientCacheFactory.java b/geode-core/src/main/java/org/apache/geode/cache/client/ClientCacheFactory.java index 4f89e98..357556e 100644 --- a/geode-core/src/main/java/org/apache/geode/cache/client/ClientCacheFactory.java +++ b/geode-core/src/main/java/org/apache/geode/cache/client/ClientCacheFactory.java @@ -230,7 +230,7 @@ public class ClientCacheFactory { } { String propValue = this.dsProps.getProperty(LOCATORS); - if (isEmpty(propValue)) { + if (propValue != null && !propValue.isEmpty()) { throw new IllegalStateException( "On a client cache the locators property must be set to an empty string or not set. It was set to \"" + propValue + "\".");
