DATACMNS-985 - Remove references to single-argument assertion methods.
This commit is contained in:
committed by
Oliver Gierke
parent
49817278b7
commit
3e048a6dca
@@ -110,7 +110,7 @@ public abstract class SpringDataJaxb {
|
||||
*/
|
||||
public static <T, S> List<T> unmarshal(Collection<S> source, XmlAdapter<S, T> adapter) {
|
||||
|
||||
Assert.notNull(adapter);
|
||||
Assert.notNull(adapter, "Adapter must not be null!");
|
||||
|
||||
if (source == null || source.isEmpty()) {
|
||||
return Collections.emptyList();
|
||||
@@ -138,7 +138,7 @@ public abstract class SpringDataJaxb {
|
||||
*/
|
||||
public static <T, S> List<S> marshal(Iterable<T> source, XmlAdapter<S, T> adapter) {
|
||||
|
||||
Assert.notNull(adapter);
|
||||
Assert.notNull(adapter, "Adapter must not be null!");
|
||||
|
||||
if (source == null) {
|
||||
return Collections.emptyList();
|
||||
|
||||
Reference in New Issue
Block a user