mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
Replaced deprecated methods etc.
This commit is contained in:
parent
c030aaff02
commit
0b22c3ea91
37 changed files with 204 additions and 288 deletions
|
|
@ -169,6 +169,7 @@ public class DefaultCheck implements Check {
|
|||
.map(fa -> new CustomFailedAssert(fa, customLevels.get(fa.getId()))).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private static List<XmlError> convertErrors(final List<XMLSyntaxError> errors) {
|
||||
// noinspection unchecked
|
||||
return (List<XmlError>) (List<?>) errors;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue