You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/11/23 08:59:45 UTC
[camel] branch main updated: Fixed JacksonDataformat name in tests
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 645e288c Fixed JacksonDataformat name in tests
645e288c is described below
commit 645e288c15b03fae7e2cd914ceed53ffec8afdfe
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Nov 23 09:58:50 2021 +0100
Fixed JacksonDataformat name in tests
---
.../org/apache/camel/component/jackson/JacksonDataFormatTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonDataFormatTest.java b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonDataFormatTest.java
index 4f3efbe..e42d285 100644
--- a/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonDataFormatTest.java
+++ b/components/camel-jackson/src/test/java/org/apache/camel/component/jackson/JacksonDataFormatTest.java
@@ -46,10 +46,10 @@ public class JacksonDataFormatTest {
private void testJson(String json, Object expected) throws Exception {
Object unmarshalled;
- JacksonDataFormat gsonDataFormat = new JacksonDataFormat();
- gsonDataFormat.doStart();
+ JacksonDataFormat jacksonDataFormat = new JacksonDataFormat();
+ jacksonDataFormat.doStart();
try (InputStream in = new ByteArrayInputStream(json.getBytes())) {
- unmarshalled = gsonDataFormat.unmarshal(new DefaultExchange(new DefaultCamelContext()), in);
+ unmarshalled = jacksonDataFormat.unmarshal(new DefaultExchange(new DefaultCamelContext()), in);
}
assertEquals(expected, unmarshalled);