You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2014/12/08 15:50:24 UTC

[4/4] camel git commit: Lets use same locale English when we refer to uk/english

Lets use same locale English when we refer to uk/english


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/a0100ba0
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/a0100ba0
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/a0100ba0

Branch: refs/heads/camel-2.14.x
Commit: a0100ba07a2197b458878354f7510d33f99ef20c
Parents: b259d4b
Author: Claus Ibsen <da...@apache.org>
Authored: Mon Dec 8 15:49:50 2014 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Mon Dec 8 15:50:10 2014 +0100

----------------------------------------------------------------------
 .../apache/camel/converter/InstanceFallbackConverterTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/a0100ba0/camel-core/src/test/java/org/apache/camel/converter/InstanceFallbackConverterTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/converter/InstanceFallbackConverterTest.java b/camel-core/src/test/java/org/apache/camel/converter/InstanceFallbackConverterTest.java
index 68ef9e6..befabe9 100644
--- a/camel-core/src/test/java/org/apache/camel/converter/InstanceFallbackConverterTest.java
+++ b/camel-core/src/test/java/org/apache/camel/converter/InstanceFallbackConverterTest.java
@@ -33,7 +33,7 @@ public class InstanceFallbackConverterTest extends ContextTestSupport {
 
     public void testInstanceFallbackConverter() throws Exception {
         Exchange exchange = new DefaultExchange(context);
-        Currency cur = Currency.getInstance(Locale.ENGLISH);
+        Currency cur = Currency.getInstance(Locale.US);
 
         String money = context.getTypeConverter().convertTo(String.class, exchange, cur);
         assertEquals("Money talks", money);
@@ -41,7 +41,7 @@ public class InstanceFallbackConverterTest extends ContextTestSupport {
 
     public void testInstanceFallbackMandatoryConverter() throws Exception {
         Exchange exchange = new DefaultExchange(context);
-        Currency cur = Currency.getInstance(Locale.ENGLISH);
+        Currency cur = Currency.getInstance(Locale.US);
 
         String money = context.getTypeConverter().mandatoryConvertTo(String.class, exchange, cur);
         assertEquals("Money talks", money);