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

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


The following commit(s) were added to refs/heads/main by this push:
     new a97380ea49 Remove redundant HostUtils substitutions
a97380ea49 is described below

commit a97380ea49da3cf7e3a9ba18fafd82d0ae18b665
Author: James Netherton <[email protected]>
AuthorDate: Wed Nov 6 07:45:03 2024 +0000

    Remove redundant HostUtils substitutions
---
 .../quarkus/core/graal/SubstituteHostUtils.java    | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/graal/SubstituteHostUtils.java
 
b/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/graal/SubstituteHostUtils.java
deleted file mode 100644
index 191e126478..0000000000
--- 
a/extensions-core/core/runtime/src/main/java/org/apache/camel/quarkus/core/graal/SubstituteHostUtils.java
+++ /dev/null
@@ -1,33 +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.core.graal;
-
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-
-import com.oracle.svm.core.annotate.Substitute;
-import com.oracle.svm.core.annotate.TargetClass;
-import org.apache.camel.util.HostUtils;
-
-@TargetClass(HostUtils.class)
-final class SubstituteHostUtils {
-
-    @Substitute
-    private static InetAddress chooseAddress() throws UnknownHostException {
-        return InetAddress.getByName("0.0.0.0");
-    }
-}

Reply via email to