]> source.dussan.org Git - dcevm.git/commitdiff
Avoiding Turkish i/I issue with toLowerCase(), using ENGLISH locale
authorIvan Dubrov <idubrov@guidewire.com>
Tue, 28 Apr 2015 23:20:01 +0000 (16:20 -0700)
committerIvan Dubrov <idubrov@guidewire.com>
Tue, 28 Apr 2015 23:20:01 +0000 (16:20 -0700)
build.gradle

index 2f22b33b7262409f1674fd2821631884bea24abd..d40106d6152078cbd23eb69135548feb39c85d31 100644 (file)
@@ -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)) }
     }
 }