From 0546704b7a152de911c3f0000418c14013392d6e Mon Sep 17 00:00:00 2001 From: Daniel Schwarz Date: Wed, 27 Sep 2017 14:46:28 +0200 Subject: SONAR-9890 avoid as many potential problems of non-english locales as possible --- sonar-plugin-api/src/main/java/org/sonar/api/utils/ParsingUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sonar-plugin-api') 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); } /** -- cgit v1.2.3