For our XSD which I am unable to share, sometimes two @Valid annotations are added to Lists.
This PR fixes this problem, by reverting back to the original approach of checking whether an annotation was added already.
Thank you for your pull request but unfortunately I cannot accept it as is because of some changes you made to the pom.xml (some users need JDK 1.8). So I am merging it manually and adding some tests.
For our XSD which I am unable to share, sometimes two @Valid annotations are added to Lists. This PR fixes this problem, by reverting back to the original approach of checking whether an annotation was added already.