You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/12/03 23:10:01 UTC

[camel-quarkus] branch master updated: chore: remove unused method

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 1d84ae7  chore: remove unused method
1d84ae7 is described below

commit 1d84ae791d89f1cc30c6f73e4d97a3113d7b280d
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Wed Dec 4 00:09:41 2019 +0100

    chore: remove unused method
---
 .../java/org/apache/camel/quarkus/core/deployment/CamelSupport.java | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSupport.java b/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSupport.java
index 9816e70..8cbe3c2 100644
--- a/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSupport.java
+++ b/extensions/core/deployment/src/main/java/org/apache/camel/quarkus/core/deployment/CamelSupport.java
@@ -95,12 +95,6 @@ public final class CamelSupport {
                 .flatMap(Collection::stream);
     }
 
-    public static <T extends CamelBeanInfo> boolean isContainerBean(List<BeanInfo> beans, T camelBeanInfo) {
-        return beans.stream()
-                .anyMatch(bi -> ObjectHelper.equal(bi.getName(), camelBeanInfo.getName(), true)
-                        && ObjectHelper.equal(bi.getImplClazz().toString(), camelBeanInfo.getType(), false));
-    }
-
     private static List<CamelServiceInfo> services(Path p) {
         List<CamelServiceInfo> answer = new ArrayList<>();