You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by cm...@apache.org on 2014/08/25 11:21:45 UTC
git commit: Remove Pattern from @DataField defintion of Math class
test and it is not yet supported by BigDecimal FormatFactory
Repository: camel
Updated Branches:
refs/heads/master ddf9e0be5 -> f846d6b57
Remove Pattern from @DataField defintion of Math class test and it is not yet supported by BigDecimal FormatFactory
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f846d6b5
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f846d6b5
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f846d6b5
Branch: refs/heads/master
Commit: f846d6b57823eb8d8f48be3675d17404249b2c0c
Parents: ddf9e0b
Author: Charles Moulliard <ch...@gmail.com>
Authored: Mon Aug 25 11:21:33 2014 +0200
Committer: Charles Moulliard <ch...@gmail.com>
Committed: Mon Aug 25 11:21:33 2014 +0200
----------------------------------------------------------------------
.../dataformat/bindy/model/simple/oneclassmath/Math.java | 11 ++++++++++-
.../jms/issues/JmsTXForceShutdownIssueTest.java | 2 +-
2 files changed, 11 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/f846d6b5/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/simple/oneclassmath/Math.java
----------------------------------------------------------------------
diff --git a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/simple/oneclassmath/Math.java b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/simple/oneclassmath/Math.java
index fd19d7a..25c6838 100644
--- a/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/simple/oneclassmath/Math.java
+++ b/components/camel-bindy/src/test/java/org/apache/camel/dataformat/bindy/model/simple/oneclassmath/Math.java
@@ -27,7 +27,16 @@ public class Math {
@DataField(pos = 1, pattern = "00")
private Integer intAmount;
- @DataField(pos = 2, precision = 2, pattern = "00.00")
+ @DataField(pos = 2, precision = 2)
+ /*
+ Pattern is not yet supported by BigDecimal.
+ FormatFactory class -->
+
+ } else if (clazz == BigDecimal.class) {
+ return new BigDecimalFormat(impliedDecimalSeparator, precision, getLocale(locale));
+
+ So we should remove it from the model pattern = "00.00"
+ */
private BigDecimal bigDecimal;
public Integer getIntAmount() {
http://git-wip-us.apache.org/repos/asf/camel/blob/f846d6b5/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsTXForceShutdownIssueTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsTXForceShutdownIssueTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsTXForceShutdownIssueTest.java
index d94b048..0cb0461 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsTXForceShutdownIssueTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/issues/JmsTXForceShutdownIssueTest.java
@@ -40,7 +40,7 @@ public class JmsTXForceShutdownIssueTest extends CamelSpringTestSupport {
}
@Test
- @Ignore("This is a manual test, start Apache ActiveMQ broker manually first, using bin/activemq console")
+ //@Ignore("This is a manual test, start Apache ActiveMQ broker manually first, using bin/activemq console")
// and make sure to setup tcp transport connector on the remote AMQ broker in the conf/activemq.xml file
// <transportConnectors>
// <transportConnector name="openwire" uri="tcp://0.0.0.0:61616"/>