Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

413: remove validation messages from composite validator only if they… #414

Conversation

sideisra
Copy link
Contributor

… have the same validator code to avoid removal of validation message of other validators

… have the same validator code to avoid removal of validation message of other validators
@sideisra
Copy link
Contributor Author

Solution for #413

.collect(Collectors.toList());
void removeMessage(final Validator validator, final List<? extends ValidationMessage> messages) {
final List<CompositeValidationMessageWrapper> messagesToRemove =
getMessagesInternal().stream()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please fix the indentation of this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@manuel-mauky
Copy link
Collaborator

Many thanks for the PullRequest. I've added a comment for a small fix to be done.

I will merge this PR into release branch instead of develop. This way this fix will be part of version 1.5.2 and you can test it with 1.5.2-SNAPSHOT

@manuel-mauky manuel-mauky merged commit b592d28 into sialcasa:develop Jun 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants