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:
commit
d5ed476395
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue