修复country拼接出现多余的空格问题,修改jdk version
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -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>
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user