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:22 UTC

[2/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/8cfabc84
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/8cfabc84
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/8cfabc84

Branch: refs/heads/master
Commit: 8cfabc8403cac829c64da91c8625e85695890c81
Parents: e6e9616
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:49:50 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/8cfabc84/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);