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

albumenj pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.3 by this push:
     new 2031a4c531 Remove NativeUtils (#12454)
2031a4c531 is described below

commit 2031a4c531d3f0e3c97572d43e26cffc36225879
Author: huazhongming <[email protected]>
AuthorDate: Tue Jun 6 17:42:12 2023 +0800

    Remove NativeUtils (#12454)
    
    Signed-off-by: crazyhzm <[email protected]>
---
 .../dubbo/common/constants/CommonConstants.java    |  5 ----
 .../org/apache/dubbo/common/utils/NativeUtils.java | 28 ----------------------
 2 files changed, 33 deletions(-)

diff --git 
a/dubbo-common/src/main/java/org/apache/dubbo/common/constants/CommonConstants.java
 
b/dubbo-common/src/main/java/org/apache/dubbo/common/constants/CommonConstants.java
index 0cc9e06c6f..76f647a22b 100644
--- 
a/dubbo-common/src/main/java/org/apache/dubbo/common/constants/CommonConstants.java
+++ 
b/dubbo-common/src/main/java/org/apache/dubbo/common/constants/CommonConstants.java
@@ -496,11 +496,6 @@ public interface CommonConstants {
      */
     String URL_MERGE_PROCESSOR_KEY = "url-merge-processor";
 
-    /**
-     * use native image to compile dubbo's identifier
-     */
-    String NATIVE = "native";
-
     String DUBBO_MONITOR_ADDRESS = "dubbo.monitor.address";
 
     String SERVICE_NAME_MAPPING_KEY = "service-name-mapping";
diff --git 
a/dubbo-common/src/main/java/org/apache/dubbo/common/utils/NativeUtils.java 
b/dubbo-common/src/main/java/org/apache/dubbo/common/utils/NativeUtils.java
deleted file mode 100644
index 5ab9cff6af..0000000000
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/utils/NativeUtils.java
+++ /dev/null
@@ -1,28 +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.dubbo.common.utils;
-
-import static org.apache.dubbo.common.constants.CommonConstants.NATIVE;
-
-public abstract class NativeUtils {
-
-    public static boolean isNative() {
-        return Boolean.parseBoolean(System.getProperty(NATIVE, "false"));
-    }
-
-}

Reply via email to