You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by kl...@apache.org on 2017/05/04 00:08:07 UTC

[53/54] geode git commit: fix test failure

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-11
Commit: 6302736d1273e964d092334835a480ca868b3bca
Parents: 1361a2f
Author: Kirk Lund <kl...@apache.org>
Authored: Wed May 3 16:36:20 2017 -0700
Committer: Kirk Lund <kl...@apache.org>
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 + "\".");