From 732aa327587f37d10e81eeb06474f8b1fe4ed9b3 Mon Sep 17 00:00:00 2001 From: hanna Date: Wed, 29 Sep 2010 21:55:21 +0000 Subject: [PATCH] Every Sting app from now on will be forced into the US English locale. git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4385 348d0f76-0448-11de-a6fe-93d51630548a --- .../sting/commandline/CommandLineProgram.java | 8 ++++++++ .../org/broadinstitute/sting/gatk/CommandLineGATK.java | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/java/src/org/broadinstitute/sting/commandline/CommandLineProgram.java b/java/src/org/broadinstitute/sting/commandline/CommandLineProgram.java index f6fbb1af0..dd4b74e42 100644 --- a/java/src/org/broadinstitute/sting/commandline/CommandLineProgram.java +++ b/java/src/org/broadinstitute/sting/commandline/CommandLineProgram.java @@ -80,6 +80,14 @@ public abstract class CommandLineProgram { private static String patternString = "%-5p %d{HH:mm:ss,SSS} %C{1} - %m %n"; private static String debugPatternString = "%n[level] %p%n[date]\t\t %d{dd MMM yyyy HH:mm:ss,SSS} %n[class]\t\t %C %n[location]\t %l %n[line number]\t %L %n[message]\t %m %n"; + /** + * The very first thing that any Sting application does is forces the JVM locale into US English, so that we don't have + * to think about number formatting issues. + */ + { + forceJVMLocaleToUSEnglish(); + } + /** * Allows a given application to return a brief description of itself. * diff --git a/java/src/org/broadinstitute/sting/gatk/CommandLineGATK.java b/java/src/org/broadinstitute/sting/gatk/CommandLineGATK.java index 6003112d4..5830696d1 100755 --- a/java/src/org/broadinstitute/sting/gatk/CommandLineGATK.java +++ b/java/src/org/broadinstitute/sting/gatk/CommandLineGATK.java @@ -75,14 +75,6 @@ public class CommandLineGATK extends CommandLineExecutable { return argCollection; } - /** - * The very first thing that the GATK does is forces the JVM locale into US English, so that we don't have - * to think about number formatting issues. - */ - { - forceJVMLocaleToUSEnglish(); - } - /** * Required main method implementation. */