You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2022/11/21 09:29:04 UTC

[camel] branch camel-3.14.x updated: CAMEL-18730: camel-report-maven-plugin - Fix import issue (#8738)

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

nfilotto pushed a commit to branch camel-3.14.x
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/camel-3.14.x by this push:
     new 03cc4962fa3 CAMEL-18730: camel-report-maven-plugin - Fix import issue (#8738)
03cc4962fa3 is described below

commit 03cc4962fa3c2973f5132cb9fcfb3b55f72633a5
Author: Nicolas Filotto <es...@users.noreply.github.com>
AuthorDate: Mon Nov 21 10:28:43 2022 +0100

    CAMEL-18730: camel-report-maven-plugin - Fix import issue (#8738)
    
    ## Motivation
    
    After generating the route coverage of the tests, if we launch the maven command `mvn camel-report:route-coverage`, the plugin fails due to an import issue.
    
    ## Modifications:
    
    * Use `java.util.Collections` instead of `edu.emory.mathcs.backport.java.util.Collections`.
---
 .../src/main/java/org/apache/camel/maven/RouteCoverageMojo.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java
index 04738f6de2f..bb005c020ef 100644
--- a/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java
+++ b/catalog/camel-report-maven-plugin/src/main/java/org/apache/camel/maven/RouteCoverageMojo.java
@@ -22,6 +22,7 @@ import java.io.FileInputStream;
 import java.io.InputStream;
 import java.io.PrintStream;
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.Iterator;
 import java.util.LinkedHashMap;
 import java.util.LinkedHashSet;
@@ -47,7 +48,6 @@ import org.w3c.dom.Attr;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
 
-import edu.emory.mathcs.backport.java.util.Collections;
 import org.apache.camel.maven.model.RouteCoverageNode;
 import org.apache.camel.parser.RouteBuilderParser;
 import org.apache.camel.parser.XmlRouteParser;