From 8cf5174369d76e61732e92d4092609988853c552 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Wed, 7 Nov 2018 19:02:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0RM?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/xxl/job/core/executor/XxlJobExecutor.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/xxl-job-core/src/main/java/com/xxl/job/core/executor/XxlJobExecutor.java b/xxl-job-core/src/main/java/com/xxl/job/core/executor/XxlJobExecutor.java index 0f06b10f..81677753 100644 --- a/xxl-job-core/src/main/java/com/xxl/job/core/executor/XxlJobExecutor.java +++ b/xxl-job-core/src/main/java/com/xxl/job/core/executor/XxlJobExecutor.java @@ -112,12 +112,6 @@ public class XxlJobExecutor { if (address!=null && address.trim().length()>0) { String addressUrl = address.concat(AdminBiz.MAPPING); - if (addressUrl.startsWith("http://")) { - addressUrl = addressUrl.replace("http://", ""); - } - if (addressUrl.startsWith("https://")) { - addressUrl = addressUrl.replace("https://", ""); - } AdminBiz adminBiz = (AdminBiz) new XxlRpcReferenceBean(NetEnum.JETTY, Serializer.SerializeEnum.HESSIAN.getSerializer(), CallType.SYNC, AdminBiz.class, null, 10000, addressUrl, accessToken, null).getObject();