camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/4] camel git commit: Lets use same locale English when we refer to uk/english
Date Mon, 08 Dec 2014 14:50:24 GMT
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 <davsclaus@apache.org>
Authored: Mon Dec 8 15:49:50 2014 +0100
Committer: Claus Ibsen <davsclaus@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);


Mime
View raw message