1
0
mirror of synced 2026-08-04 01:07:02 +00:00

Use message in all Assert

This ensures compatibility with Spring 5.

Fixes gh-4193
This commit is contained in:
Rob Winch
2017-01-30 19:58:24 -06:00
parent 4c79107e01
commit 9c03571bbb
25 changed files with 67 additions and 67 deletions
@@ -286,7 +286,7 @@ public final class SecurityMockMvcRequestPostProcessors {
private final X509Certificate[] certificates;
private X509RequestPostProcessor(X509Certificate... certificates) {
Assert.notNull("X509Certificate cannot be null");
Assert.notNull(certificates, "X509Certificate cannot be null");
this.certificates = certificates;
}