+1
-1
@@ -45,7 +45,7 @@ public class ValidUtil {
|
||||
for (ConstraintViolation<Object> constraintViolation : set) {
|
||||
msg.append(constraintViolation.getMessage()).append(",");
|
||||
}
|
||||
if (StringUtils.isBlank(msg)) {
|
||||
if (StringUtils.isNotBlank(msg)) {
|
||||
throw new JeroBootException(msg.substring(0,msg.length()-1));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user