diff options
author | Daniel Schwarz <daniel.schwarz@sonarsource.com> | 2017-09-27 14:46:28 +0200 |
---|---|---|
committer | Daniel Schwarz <bartfastiel@users.noreply.github.com> | 2017-09-28 17:06:54 +0200 |
commit | 0546704b7a152de911c3f0000418c14013392d6e (patch) | |
tree | 31f14f772843b205827b07852f04ea56cbb698d4 /sonar-plugin-api | |
parent | c1fc4905203f88ca85e33a0f65ab7068100a9a02 (diff) | |
download | sonarqube-0546704b7a152de911c3f0000418c14013392d6e.tar.gz sonarqube-0546704b7a152de911c3f0000418c14013392d6e.zip |
SONAR-9890 avoid as many potential problems of non-english locales as possible
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/utils/ParsingUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/ParsingUtils.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/ParsingUtils.java index b85873c8c4c..d2dcbde4359 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/ParsingUtils.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/ParsingUtils.java @@ -53,7 +53,7 @@ public final class ParsingUtils { * @throws ParseException if number cannot be parsed */ public static double parseNumber(String number) throws ParseException { - return parseNumber(number, Locale.getDefault()); + return parseNumber(number, Locale.ENGLISH); } /** |