diff options
author | Ivan Dubrov <idubrov@guidewire.com> | 2015-04-28 16:20:01 -0700 |
---|---|---|
committer | Ivan Dubrov <idubrov@guidewire.com> | 2015-04-28 16:20:01 -0700 |
commit | 3d20c6680ce9a562ec8eeeeabc1e8a492a53c76c (patch) | |
tree | c7545466783c435c64f069711fadb9200007c228 | |
parent | d9d3849c5b8ba481a66c99427fb238882fb27ca8 (diff) | |
download | dcevm-3d20c6680ce9a562ec8eeeeabc1e8a492a53c76c.tar.gz dcevm-3d20c6680ce9a562ec8eeeeabc1e8a492a53c76c.zip |
Avoiding Turkish i/I issue with toLowerCase(), using ENGLISH locale
-rw-r--r-- | build.gradle | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 2f22b33b..d40106d6 100644 --- a/build.gradle +++ b/build.gradle @@ -262,7 +262,7 @@ enum Os { } static Os current() { - return values().find { os -> org.apache.tools.ant.taskdefs.condition.Os.isFamily(os.name().toLowerCase()) } + return values().find { os -> org.apache.tools.ant.taskdefs.condition.Os.isFamily(os.name().toLowerCase(java.util.Locale.ENGLISH)) } } } |