diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2009-08-14 12:50:36 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2009-08-14 12:50:36 +0000 |
| commit | e998b312406f35cd49eee45c0701ade51953b748 (patch) | |
| tree | 2a8eb0ae9b8ee5274f28d19998efedf59d16aa88 /qpid/java/broker/src/test | |
| parent | c39fc2363874ac2b368db5673cdfb103375838e1 (diff) | |
| download | qpid-python-e998b312406f35cd49eee45c0701ade51953b748.tar.gz | |
QPID-2001 : Default Locale should be the VMs locale not en_US.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@804201 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/broker/src/test')
| -rw-r--r-- | qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java b/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java index 4e20f537f1..8cb0837b39 100644 --- a/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java +++ b/qpid/java/broker/src/test/java/org/apache/qpid/server/configuration/ServerConfigurationTest.java @@ -263,9 +263,8 @@ public class ServerConfigurationTest extends TestCase // Check default ServerConfiguration serverConfig = new ServerConfiguration(_config); - String defaultParts[] = ServerConfiguration.DEFAULT_ADVANCED_LOCALE.split("_"); - // The Default is en_US so will split well - Locale defaultLocale = new Locale(defaultParts[0],defaultParts[1]); + // The Default is what ever the VMs default is + Locale defaultLocale = Locale.getDefault(); assertEquals(defaultLocale, serverConfig.getLocale()); |
