REM:
1. 删除冗余代码。
This commit is contained in:
wangyiyun 2020-09-23 15:25:40 +08:00
parent b0080b6547
commit 24bd632477
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) {