Merge pull request #5982 from amit2103/BAEL-10985

[BAEL-10985] - Removed vavr-validation submodule
This commit is contained in:
Loredana Crusoveanu 2018-12-25 11:20:49 +02:00 committed by GitHub
commit c96072f515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View File

@ -8,10 +8,10 @@ import io.vavr.control.Validation;
public class Application {
public static void main(String[] args) {
UserValidator userValidator = new UserValidator();
Validation<Seq<String>, User> validation = userValidator.validateUser("John", "john@domain.com");
// process validation results here
}
}
}

View File

@ -7,7 +7,7 @@ import com.baeldung.vavrvalidation.validator.UserValidator;
import io.vavr.control.Validation.Invalid;
import io.vavr.control.Validation.Valid;
public class UserValidatorTest {
public class UserValidatorUnitTest {
@Test
public void givenValidUserParams_whenValidated_thenInstanceOfValid() {

View File

@ -11,7 +11,7 @@ import io.vavr.control.Either.Right;
import io.vavr.control.Validation.Invalid;
import io.vavr.control.Validation.Valid;
public class ValidationTest {
public class ValidationUnitTest {
private static UserValidator userValidator;