Repository: geode Updated Branches: refs/heads/feature/GEODE-2632-10 ea4083848 -> 254382ebf
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/6d886605 Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/6d886605 Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/6d886605 Branch: refs/heads/feature/GEODE-2632-10 Commit: 6d886605e8e8d2bec2b7b82ddfea5824316159e0 Parents: ea40838 Author: Kirk Lund <[email protected]> Authored: Wed May 3 16:36:20 2017 -0700 Committer: Kirk Lund <[email protected]> Committed: Wed May 3 16:36:20 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/6d886605/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 + "\".");
