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

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


The following commit(s) were added to refs/heads/camel-main by this push:
     new 1cbb270bde Remove Capability capability from catalog
1cbb270bde is described below

commit 1cbb270bdeb5e0704fd7da899cd3df6f2a361ad4
Author: JiriOndrusek <ondrusek.j...@gmail.com>
AuthorDate: Thu Oct 3 11:48:18 2024 +0200

    Remove Capability capability from catalog
---
 .../camel/catalog/quarkus/QuarkusRuntimeProvider.java    | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git 
a/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java
 
b/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java
index 034c970659..c575f93b5c 100644
--- 
a/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java
+++ 
b/catalog/src/main/java/org/apache/camel/catalog/quarkus/QuarkusRuntimeProvider.java
@@ -20,9 +20,6 @@ import java.io.IOException;
 import java.io.InputStream;
 import java.util.ArrayList;
 import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-import java.util.TreeMap;
 
 import org.apache.camel.catalog.CamelCatalog;
 import org.apache.camel.catalog.RuntimeProvider;
@@ -42,7 +39,6 @@ public class QuarkusRuntimeProvider implements 
RuntimeProvider {
     private static final String TRANSFORMER_DIR = 
"org/apache/camel/catalog/quarkus/transformers";
     private static final String OTHER_DIR = 
"org/apache/camel/catalog/quarkus/others";
     private static final String BEANS_DIR = 
"org/apache/camel/catalog/quarkus/beans";
-    private static final String CAPABILITIES_CATALOG = 
"org/apache/camel/catalog/quarkus/capabilities.properties";
     private static final String COMPONENTS_CATALOG = 
"org/apache/camel/catalog/quarkus/components.properties";
     private static final String DEV_CONSOLE_CATALOG = 
"org/apache/camel/catalog/quarkus/dev-consoles.properties";
     private static final String DATA_FORMATS_CATALOG = 
"org/apache/camel/catalog/quarkus/dataformats.properties";
@@ -210,16 +206,4 @@ public class QuarkusRuntimeProvider implements 
RuntimeProvider {
         }
         return names;
     }
-
-    @SuppressWarnings({ "unchecked", "rawtypes" })
-    @Override
-    public Map<String, String> findCapabilities() {
-        final Properties properties = new Properties();
-        try (InputStream is = 
getCamelCatalog().getVersionManager().getResourceAsStream(CAPABILITIES_CATALOG))
 {
-            properties.load(is);
-        } catch (IOException e) {
-            // ignore
-        }
-        return new TreeMap<>((Map<String, String>) (Map) properties);
-    }
 }

Reply via email to