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 2019/08/30 14:07:34 UTC

[camel] branch master updated: Fix findings in camel-any23 code

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new 59bfc19  Fix findings in camel-any23 code
59bfc19 is described below

commit 59bfc19e862d206159cf571e4d26fd1f686fde70
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Aug 30 16:07:09 2019 +0200

    Fix findings in camel-any23 code
---
 .../camel/dataformat/any23/Any23DataFormatConfigurationsTest.java     | 2 +-
 .../apache/camel/dataformat/any23/Any23DataFormatExtractorsTest.java  | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/camel-any23/src/test/java/org/apache/camel/dataformat/any23/Any23DataFormatConfigurationsTest.java b/components/camel-any23/src/test/java/org/apache/camel/dataformat/any23/Any23DataFormatConfigurationsTest.java
index 89659c9..aa4914c 100644
--- a/components/camel-any23/src/test/java/org/apache/camel/dataformat/any23/Any23DataFormatConfigurationsTest.java
+++ b/components/camel-any23/src/test/java/org/apache/camel/dataformat/any23/Any23DataFormatConfigurationsTest.java
@@ -57,7 +57,7 @@ public class Any23DataFormatConfigurationsTest extends CamelTestSupport {
     protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
-                Map<String, String> conf = new HashMap();
+                Map<String, String> conf = new HashMap<String, String>();
                 conf.put("any23.extraction.metadata.nesting", "off");
                 from("direct:start").unmarshal().any23(baseURI, Any23Type.TURTLE, conf).to("mock:result");
             }
diff --git a/components/camel-any23/src/test/java/org/apache/camel/dataformat/any23/Any23DataFormatExtractorsTest.java b/components/camel-any23/src/test/java/org/apache/camel/dataformat/any23/Any23DataFormatExtractorsTest.java
index 136cc8c..453e4e8 100644
--- a/components/camel-any23/src/test/java/org/apache/camel/dataformat/any23/Any23DataFormatExtractorsTest.java
+++ b/components/camel-any23/src/test/java/org/apache/camel/dataformat/any23/Any23DataFormatExtractorsTest.java
@@ -58,9 +58,9 @@ public class Any23DataFormatExtractorsTest extends CamelTestSupport {
     protected RouteBuilder createRouteBuilder() {
         return new RouteBuilder() {
             public void configure() {
-                Map<String, String> conf = new HashMap();
+                Map<String, String> conf = new HashMap<String, String>();
                 conf.put("any23.extraction.metadata.nesting", "off");
-                List<String> extc = new ArrayList();
+                List<String> extc = new ArrayList<String>();
                 extc.add("html-head-title");
                 from("direct:start").unmarshal().any23(baseURI, Any23Type.TURTLE, conf, extc).to("mock:result");
             }