Skip to content

Commit

Permalink
Avoiding Turkish i/I issue with toLowerCase(), using ENGLISH locale
Browse files Browse the repository at this point in the history
  • Loading branch information
gwre-ivan committed Apr 28, 2015
1 parent d9d3849 commit 3d20c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -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)) }
}
}

Expand Down

0 comments on commit 3d20c66

Please sign in to comment.