修复country拼接出现多余的空格问题,修改jdk version

This commit is contained in:
wangkuan
2024-04-19 11:17:48 +08:00
parent fae16e5804
commit ea09d5dfb1
2 changed files with 3 additions and 3 deletions

View File

@@ -56,8 +56,8 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version> <version>3.8.0</version>
<configuration> <configuration>
<source>1.8</source> <source>11</source>
<target>1.8</target> <target>11</target>
<!-- The semantics of this option are reversed, see MCOMPILER-209. --> <!-- The semantics of this option are reversed, see MCOMPILER-209. -->
<useIncrementalCompilation>false</useIncrementalCompilation> <useIncrementalCompilation>false</useIncrementalCompilation>
<compilerArgs> <compilerArgs>

View File

@@ -312,7 +312,7 @@ public class DosDetectionFunction extends ProcessFunction<DosSketchLog, DosEvent
countrySet.add(country); countrySet.add(country);
} }
} }
countryList = StringUtils.join(countrySet, ", "); countryList = StringUtils.join(countrySet, ",");
return countryList; return countryList;
} catch (Exception e) { } catch (Exception e) {
logger.error("{} source IP lists 获取国家失败", sourceIpList, e); logger.error("{} source IP lists 获取国家失败", sourceIpList, e);