Skip to content

Conversation

marschall
Copy link
Contributor

XML schema validation accepting multiple schemas currently uses arrays
of Resource objects. They would be a bit easier and more succinct to
use if the setters were switched to varargs. Such a change would be
backwards compatible.

This change includes:

  • change AbstractValidatingInterceptor#setSchemas to use varargs
  • change the CommonsXsdSchemaCollection constructor to use varargs
  • change CommonsXsdSchemaCollection.setXsds to use varargs
  • update the tests to use varargs

Issue: SWS-921
https://jira.spring.io/browse/SWS-921

XML schema validation accepting multiple schemas currently uses arrays
of Resource objects. They would be a bit easier and more succinct to
use if the setters were switched to varargs. Such a change would be
backwards compatible.

This change includes:

 * change AbstractValidatingInterceptor#setSchemas to use varargs
 * change the CommonsXsdSchemaCollection constructor to use varargs
 * change CommonsXsdSchemaCollection.setXsds to use varargs
 * update the tests to use varargs

Issue: SWS-921
https://jira.spring.io/browse/SWS-921
@gregturn
Copy link
Contributor

Resolved via 3c7a6b9. Thanks!

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