REM:
1. 修正CheckStyle检测错误
This commit is contained in:
HuangXin 2020-07-07 20:02:36 +08:00
parent bd03ed49d6
commit 667855cf3d
3 changed files with 11 additions and 4 deletions

View File

@ -112,7 +112,7 @@ public enum IPAddrType {
return ipv4.matches(ipv4Regex); return ipv4.matches(ipv4Regex);
default: default:
// Ip v6 + port // Ip v6 + port
if (ipAddr.contains("[")) { if (ipAddr.contains(ipv6PortChar)) {
String ipv6 = ipAddr.substring(1, ipAddr.lastIndexOf(ipv6PortChar)); String ipv6 = ipAddr.substring(1, ipAddr.lastIndexOf(ipv6PortChar));
return ipv6.matches(ipv6Regex); return ipv6.matches(ipv6Regex);
} else { } else {

View File

@ -1,6 +1,10 @@
package com.dispose.dispose.impl; package com.dispose.dispose.impl;
import com.dispose.common.*; import com.dispose.common.CleanTaskStatus;
import com.dispose.common.DeviceCapacity;
import com.dispose.common.DpTechAttackType;
import com.dispose.common.ErrorCode;
import com.dispose.common.GlobalVar;
import com.dispose.config.DisposeConfigure; import com.dispose.config.DisposeConfigure;
import com.dispose.dispose.DisposeEntryManager; import com.dispose.dispose.DisposeEntryManager;
import com.dispose.dispose.po.DeviceInfo; import com.dispose.dispose.po.DeviceInfo;
@ -9,7 +13,6 @@ import com.dispose.pojo.po.DisposeDeviceCapacity;
import com.dispose.pojo.po.MulReturnType; import com.dispose.pojo.po.MulReturnType;
import com.dptech.dispose.AbnormalFlowCleaningServicePortType; import com.dptech.dispose.AbnormalFlowCleaningServicePortType;
import com.dptech.dispose.ArrayOfProtectionObjectDataForService; import com.dptech.dispose.ArrayOfProtectionObjectDataForService;
import com.dptech.dispose.NtcRequestResultInfo;
import lombok.Data; import lombok.Data;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.cxf.endpoint.Client; import org.apache.cxf.endpoint.Client;

View File

@ -1,7 +1,11 @@
package com.dispose.pojo.vo.haohan; package com.dispose.pojo.vo.haohan;
import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.*; import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/** /**
* The type Clean rsp. * The type Clean rsp.