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

commit 3a59f3492c816c5b2fb2e5019b8fa63203eecaa7
Author: JiriOndrusek <ondrusek.j...@gmail.com>
AuthorDate: Mon Jun 10 16:46:53 2024 +0200

    Removed unnecessary change made for xchange
---
 extensions/xchange/deployment/pom.xml              |  5 ---
 .../deployment/graal/XchangeSubstitutions.java     | 44 ----------------------
 2 files changed, 49 deletions(-)

diff --git a/extensions/xchange/deployment/pom.xml 
b/extensions/xchange/deployment/pom.xml
index d591231eed..c7eebda0d1 100644
--- a/extensions/xchange/deployment/pom.xml
+++ b/extensions/xchange/deployment/pom.xml
@@ -42,11 +42,6 @@
             <groupId>org.apache.camel.quarkus</groupId>
             <artifactId>camel-quarkus-xchange</artifactId>
         </dependency>
-        <dependency>
-            <groupId>org.graalvm.sdk</groupId>
-            <artifactId>nativeimage</artifactId>
-            <scope>provided</scope>
-        </dependency>
     </dependencies>
 
     <build>
diff --git 
a/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
 
b/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
deleted file mode 100644
index 7eeac51c19..0000000000
--- 
a/extensions/xchange/deployment/src/main/java/org/apache/camel/quarkus/component/xchange/deployment/graal/XchangeSubstitutions.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.quarkus.component.xchange.deployment.graal;
-
-import com.oracle.svm.core.annotate.Substitute;
-import com.oracle.svm.core.annotate.TargetClass;
-import com.oracle.svm.core.annotate.TargetElement;
-import org.knowm.xchange.binance.config.converter.StringToCurrencyConverter;
-import 
org.knowm.xchange.binance.config.converter.StringToCurrencyPairConverter;
-
-public class XchangeSubstitutions {
-
-    @TargetClass(StringToCurrencyPairConverter.class)
-    class StringToCurrencyPairConverterSubstitutions {
-
-        @Substitute
-        @TargetElement(name = TargetElement.CONSTRUCTOR_NAME)
-        public StringToCurrencyPairConverterSubstitutions() {
-        }
-    }
-
-    @TargetClass(StringToCurrencyConverter.class)
-    class StringToCurrencyConverterSubstitutions {
-
-        @Substitute
-        @TargetElement(name = TargetElement.CONSTRUCTOR_NAME)
-        public StringToCurrencyConverterSubstitutions() {
-        }
-    }
-}

Reply via email to