From ecd4e33f2ceb0a38466bce727660f04b2b091dee Mon Sep 17 00:00:00 2001 From: zengsb Date: Fri, 16 Jun 2023 14:34:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BC=A0=E5=80=BC4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 12 ++++++------ .../com/hlbd/common/base/utils/CollectUtils.java | 6 ------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index ec6ea0f..d68edd6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -37,12 +37,12 @@ steps: build_number: ${DRONE_BUILD_NUMBER} build_version: ${DRONE_BUILD_VERSION} binaries: . - pr_key: ${DRONE_PULL_REQUEST} # for pull request analysis and decoration - pr_branch: ${DRONE_SOURCE_BRANCH} # for pull request analysis and decoration - pr_base: ${DRONE_TARGET_BRANCH} # for pull request analysis and decoration - sonar_pr_key: ${DRONE_PULL_REQUEST} # for pull request analysis and decoration - sonar_pr_branch: ${DRONE_SOURCE_BRANCH} # for pull request analysis and decoration - sonar_pr_base: ${DRONE_TARGET_BRANCH} # for pull request analysis and decoration +# pr_key: ${DRONE_PULL_REQUEST} # for pull request analysis and decoration +# pr_branch: ${DRONE_SOURCE_BRANCH} # for pull request analysis and decoration +# pr_base: ${DRONE_TARGET_BRANCH} # for pull request analysis and decoration +# sonar_pr_key: ${DRONE_PULL_REQUEST} # for pull request analysis and decoration +# sonar_pr_branch: ${DRONE_SOURCE_BRANCH} # for pull request analysis and decoration +# sonar_pr_base: ${DRONE_TARGET_BRANCH} # for pull request analysis and decoration #kind: pipeline #type: exec diff --git a/common/common-base/src/main/java/com/hlbd/common/base/utils/CollectUtils.java b/common/common-base/src/main/java/com/hlbd/common/base/utils/CollectUtils.java index d0b29d9..1becd4d 100644 --- a/common/common-base/src/main/java/com/hlbd/common/base/utils/CollectUtils.java +++ b/common/common-base/src/main/java/com/hlbd/common/base/utils/CollectUtils.java @@ -1,14 +1,8 @@ package com.hlbd.common.base.utils; -import com.hlbd.common.base.common.Times; -import com.sun.jndi.toolkit.url.UrlUtil; - import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; -import java.net.URLEncoder; import java.util.*; -import java.util.concurrent.ArrayBlockingQueue; -import java.util.stream.Collectors; public class CollectUtils { public static void main(String[] args) throws MalformedURLException, UnsupportedEncodingException {