camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [3/3] camel git commit: CAMEL-8060 Fixed bunch of eclipse warnings
Date Wed, 19 Nov 2014 07:26:37 GMT
CAMEL-8060 Fixed bunch of eclipse warnings


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

Branch: refs/heads/master
Commit: 183342a0e57f0ef5a8ee4a5050402a91b494fc9c
Parents: add89ce
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Wed Nov 19 14:53:54 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Wed Nov 19 15:25:47 2014 +0800

----------------------------------------------------------------------
 .../org/apache/camel/dataformat/univocity/Marshaller.java |  4 ++--
 .../UniVocityCsvDataFormatUnmarshalSpringTest.java        | 10 +++++-----
 .../univocity/UniVocityCsvDataFormatUnmarshalTest.java    | 10 +++++-----
 .../UniVocityFixedWidthDataFormatUnmarshalSpringTest.java | 10 +++++-----
 .../UniVocityFixedWidthDataFormatUnmarshalTest.java       | 10 +++++-----
 .../UniVocityTsvDataFormatUnmarshalSpringTest.java        | 10 +++++-----
 .../univocity/UniVocityTsvDataFormatUnmarshalTest.java    | 10 +++++-----
 7 files changed, 32 insertions(+), 32 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/183342a0/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/Marshaller.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/Marshaller.java
b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/Marshaller.java
index a202b23..662c09b 100644
--- a/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/Marshaller.java
+++ b/components/camel-univocity-parsers/src/main/java/org/apache/camel/dataformat/univocity/Marshaller.java
@@ -62,7 +62,7 @@ final class Marshaller<W extends AbstractWriter<?>> {
      */
     public void marshal(Exchange exchange, Object body, W writer) throws NoTypeConversionAvailableException
{
         try {
-            List list = convertToType(exchange, List.class, body);
+            List<?> list = convertToType(exchange, List.class, body);
             if (list != null) {
                 for (Object row : list) {
                     writeRow(exchange, row, writer);
@@ -84,7 +84,7 @@ final class Marshaller<W extends AbstractWriter<?>> {
      * @throws NoTypeConversionAvailableException when it's not possible to convert the row
as map.
      */
     private void writeRow(Exchange exchange, Object row, W writer) throws NoTypeConversionAvailableException
{
-        Map map = convertToMandatoryType(exchange, Map.class, row);
+        Map<?, ?> map = convertToMandatoryType(exchange, Map.class, row);
         if (adaptHeaders) {
             for (Object key : map.keySet()) {
                 headers.add(convertToMandatoryType(exchange, String.class, key));

http://git-wip-us.apache.org/repos/asf/camel/blob/183342a0/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalSpringTest.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalSpringTest.java
b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalSpringTest.java
index 949719f..348f3d4 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalSpringTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalSpringTest.java
@@ -50,7 +50,7 @@ public final class UniVocityCsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(3, body.size());
         assertEquals(Arrays.asList("A", "B", "C"), body.get(0));
         assertEquals(Arrays.asList("1", "2", "3"), body.get(1));
@@ -67,7 +67,7 @@ public final class UniVocityCsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -83,7 +83,7 @@ public final class UniVocityCsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -99,7 +99,7 @@ public final class UniVocityCsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        Iterator body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
+        Iterator<?> body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
 
         // Read first line
         assertTrue(body.hasNext());
@@ -139,7 +139,7 @@ public final class UniVocityCsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(Arrays.asList("A", "B"), body.get(0));
         assertEquals(Arrays.asList("N/A", "D  "), body.get(1));

http://git-wip-us.apache.org/repos/asf/camel/blob/183342a0/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java
b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java
index 0d1370a..63a577a 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityCsvDataFormatUnmarshalTest.java
@@ -52,7 +52,7 @@ public final class UniVocityCsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(3, body.size());
         assertEquals(Arrays.asList("A", "B", "C"), body.get(0));
         assertEquals(Arrays.asList("1", "2", "3"), body.get(1));
@@ -69,7 +69,7 @@ public final class UniVocityCsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -85,7 +85,7 @@ public final class UniVocityCsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -101,7 +101,7 @@ public final class UniVocityCsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        Iterator body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
+        Iterator<?> body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
 
         // Read first line
         assertTrue(body.hasNext());
@@ -141,7 +141,7 @@ public final class UniVocityCsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(Arrays.asList("A", "B"), body.get(0));
         assertEquals(Arrays.asList("N/A", "D  "), body.get(1));

http://git-wip-us.apache.org/repos/asf/camel/blob/183342a0/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalSpringTest.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalSpringTest.java
b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalSpringTest.java
index 91ff0f9..c955c1c 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalSpringTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalSpringTest.java
@@ -50,7 +50,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalSpringTest extends
Came
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(3, body.size());
         assertEquals(Arrays.asList("A", "B", "C"), body.get(0));
         assertEquals(Arrays.asList("1", "2", "3"), body.get(1));
@@ -67,7 +67,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalSpringTest extends
Came
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -83,7 +83,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalSpringTest extends
Came
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -99,7 +99,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalSpringTest extends
Came
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        Iterator body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
+        Iterator<?> body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
 
         // Read first line
         assertTrue(body.hasNext());
@@ -139,7 +139,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalSpringTest extends
Came
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(Arrays.asList("A", "B"), body.get(0));
         assertEquals(Arrays.asList("N/A", "D"), body.get(1));

http://git-wip-us.apache.org/repos/asf/camel/blob/183342a0/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalTest.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalTest.java
b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalTest.java
index e2db7c6..6dc9f29 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityFixedWidthDataFormatUnmarshalTest.java
@@ -51,7 +51,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalTest extends CamelTestS
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(3, body.size());
         assertEquals(Arrays.asList("A", "B", "C"), body.get(0));
         assertEquals(Arrays.asList("1", "2", "3"), body.get(1));
@@ -68,7 +68,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalTest extends CamelTestS
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -84,7 +84,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalTest extends CamelTestS
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -100,7 +100,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalTest extends
CamelTestS
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        Iterator body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
+        Iterator<?> body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
 
         // Read first line
         assertTrue(body.hasNext());
@@ -140,7 +140,7 @@ public final class UniVocityFixedWidthDataFormatUnmarshalTest extends
CamelTestS
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(Arrays.asList("A", "B"), body.get(0));
         assertEquals(Arrays.asList("N/A", "D"), body.get(1));

http://git-wip-us.apache.org/repos/asf/camel/blob/183342a0/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalSpringTest.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalSpringTest.java
b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalSpringTest.java
index ccecf5e..5966d2f 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalSpringTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalSpringTest.java
@@ -50,7 +50,7 @@ public final class UniVocityTsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(3, body.size());
         assertEquals(Arrays.asList("A", "B", "C"), body.get(0));
         assertEquals(Arrays.asList("1", "2", "3"), body.get(1));
@@ -67,7 +67,7 @@ public final class UniVocityTsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -83,7 +83,7 @@ public final class UniVocityTsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -99,7 +99,7 @@ public final class UniVocityTsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        Iterator body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
+        Iterator<?> body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
 
         // Read first line
         assertTrue(body.hasNext());
@@ -139,7 +139,7 @@ public final class UniVocityTsvDataFormatUnmarshalSpringTest extends CamelSpring
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(Arrays.asList("A", "B"), body.get(0));
         assertEquals(Arrays.asList("N/A", "D  "), body.get(1));

http://git-wip-us.apache.org/repos/asf/camel/blob/183342a0/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java
----------------------------------------------------------------------
diff --git a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java
b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java
index 42e2144..2ee4594 100644
--- a/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java
+++ b/components/camel-univocity-parsers/src/test/java/org/apache/camel/dataformat/univocity/UniVocityTsvDataFormatUnmarshalTest.java
@@ -51,7 +51,7 @@ public final class UniVocityTsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(3, body.size());
         assertEquals(Arrays.asList("A", "B", "C"), body.get(0));
         assertEquals(Arrays.asList("1", "2", "3"), body.get(1));
@@ -68,7 +68,7 @@ public final class UniVocityTsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -84,7 +84,7 @@ public final class UniVocityTsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(asMap("A", "1", "B", "2", "C", "3"), body.get(0));
         assertEquals(asMap("A", "one", "B", "two", "C", "three"), body.get(1));
@@ -100,7 +100,7 @@ public final class UniVocityTsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        Iterator body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
+        Iterator<?> body = assertIsInstanceOf(Iterator.class, result.getExchanges().get(0).getIn().getBody());
 
         // Read first line
         assertTrue(body.hasNext());
@@ -140,7 +140,7 @@ public final class UniVocityTsvDataFormatUnmarshalTest extends CamelTestSupport
         result.expectedMessageCount(1);
         result.assertIsSatisfied();
 
-        List body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
+        List<?> body = assertIsInstanceOf(List.class, result.getExchanges().get(0).getIn().getBody());
         assertEquals(2, body.size());
         assertEquals(Arrays.asList("A", "B"), body.get(0));
         assertEquals(Arrays.asList("N/A", "D  "), body.get(1));


Mime
View raw message