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

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 3818343236d [fix](fe) fix HttpURLUtil class code issue because of 
duplecative getHttpPort method declaration (#65333)
3818343236d is described below

commit 3818343236d41d765b2ce79bbe9362f02a9d0937
Author: heguanhui <[email protected]>
AuthorDate: Tue Jul 7 22:42:32 2026 +0800

    [fix](fe) fix HttpURLUtil class code issue because of duplecative 
getHttpPort method declaration (#65333)
    
    ### What problem does this PR solve?
    
    HttpURLUtil class code issue because of duplecative getHttpPort method
    declaration cause fe compile error
    
    Problem Summary:
    fix HttpURLUtil class code issue because of duplecative getHttpPort
    method declaration
---
 .../src/main/java/org/apache/doris/common/util/HttpURLUtil.java       | 4 ----
 1 file changed, 4 deletions(-)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/common/util/HttpURLUtil.java 
b/fe/fe-core/src/main/java/org/apache/doris/common/util/HttpURLUtil.java
index 7e590de5a74..feb88abbb1c 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/common/util/HttpURLUtil.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/common/util/HttpURLUtil.java
@@ -33,10 +33,6 @@ import javax.net.ssl.HttpsURLConnection;
 
 public class HttpURLUtil {
 
-    public static int getHttpPort() {
-        return Config.enable_https ? Config.https_port : Config.http_port;
-    }
-
     public static HttpURLConnection getConnectionWithNodeIdent(String request) 
throws IOException {
         try {
             SecurityChecker.getInstance().startSSRFChecking(request);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to