You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by sa...@apache.org on 2018/08/06 23:00:08 UTC

[geode] branch feature/windows-debug-integration-tests updated: Ignore case in LocatorLauncher validateOnStart

This is an automated email from the ASF dual-hosted git repository.

sai_boorlagadda pushed a commit to branch feature/windows-debug-integration-tests
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/windows-debug-integration-tests by this push:
     new 1ef138c  Ignore case in LocatorLauncher validateOnStart
1ef138c is described below

commit 1ef138c394ee51dfda4bac2fd4b9bc847d0feb8f
Author: Sai Boorlagadda <sb...@pivotal.io>
AuthorDate: Mon Aug 6 15:59:49 2018 -0700

    Ignore case in LocatorLauncher validateOnStart
---
 .../src/main/java/org/apache/geode/distributed/LocatorLauncher.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java b/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java
index 1dbf0af..b4e5cdc 100644
--- a/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java
+++ b/geode-core/src/main/java/org/apache/geode/distributed/LocatorLauncher.java
@@ -1785,7 +1785,7 @@ public class LocatorLauncher extends AbstractLauncher<String> {
                   .toLocalizedString("Locator"));
         }
 
-        if (!CURRENT_DIRECTORY.equals(getWorkingDirectory())) {
+        if (!CURRENT_DIRECTORY.equalsIgnoreCase(getWorkingDirectory())) {
           throw new IllegalStateException(
               LocalizedStrings.Launcher_Builder_WORKING_DIRECTORY_OPTION_NOT_VALID_ERROR_MESSAGE
                   .toLocalizedString("Locator"));