Use message in all Assert
This ensures compatibility with Spring 5. Fixes gh-4193
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user