Merge branch 'v2.0.1_dev' of http://git.komect.net/DDOSAQ/phoenix_ddos_handle into v2.0.1_dev

This commit is contained in:
HuangXin 2020-09-23 18:38:30 +08:00
commit d5ed476395
1 changed files with 0 additions and 1 deletions

View File

@ -60,7 +60,6 @@ public class ValidAddCapacityInfoImpl implements ConstraintValidator<ValidAddCap
*/ */
@Override @Override
public boolean isValid(AddCapacityInfo addCapacityInfo, ConstraintValidatorContext ctx) { public boolean isValid(AddCapacityInfo addCapacityInfo, ConstraintValidatorContext ctx) {
int sum = 0;
boolean ret = true; boolean ret = true;
if (addCapacityInfo == null || addCapacityInfo.getCapacityType() == null) { if (addCapacityInfo == null || addCapacityInfo.getCapacityType() == null) {