From f96f6a3d0b5fab301ccbb659732cc78b703b8794 Mon Sep 17 00:00:00 2001 From: zhangdahai111 Date: Fri, 10 Dec 2021 11:17:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20method=20not=20foun?= =?UTF-8?q?d?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/org/metersphere/exporter/PostmanExporter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/metersphere/exporter/PostmanExporter.java b/src/main/java/org/metersphere/exporter/PostmanExporter.java index 1f6a45b..408280a 100644 --- a/src/main/java/org/metersphere/exporter/PostmanExporter.java +++ b/src/main/java/org/metersphere/exporter/PostmanExporter.java @@ -375,7 +375,7 @@ private Map getParamMap(PsiMethod e1, AppSettingState state) { if (token.getTokenType().toString().equalsIgnoreCase("DOC_TAG_NAME") && token.getText().equalsIgnoreCase("@param")) { PsiDocToken paramEn = iterator.next(); PsiDocToken paramZh = iterator.next(); - if (!org.apache.commons.lang3.StringUtils.isAllBlank(paramEn.getText(), paramZh.getText())) { + if (StringUtils.isNoneBlank(paramEn.getText(), paramZh.getText())) { r.put(UTF8Util.toUTF8String(paramEn.getText()), UTF8Util.toUTF8String(paramZh.getText())); } }