aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
authorDaniel Schwarz <daniel.schwarz@sonarsource.com>2017-09-27 14:46:28 +0200
committerDaniel Schwarz <bartfastiel@users.noreply.github.com>2017-09-28 17:06:54 +0200
commit0546704b7a152de911c3f0000418c14013392d6e (patch)
tree31f14f772843b205827b07852f04ea56cbb698d4 /sonar-plugin-api
parentc1fc4905203f88ca85e33a0f65ab7068100a9a02 (diff)
downloadsonarqube-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.java2
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);
}
/**