1
0
mirror of synced 2026-08-05 17:57:15 +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
@@ -45,7 +45,7 @@ public class OpenIDAttribute implements Serializable {
}
public OpenIDAttribute(String name, String type, List<String> values) {
Assert.notEmpty(values);
Assert.notEmpty(values, "values cannot be empty");
this.name = name;
this.typeIdentifier = type;
this.values = values;