DATACMNS-985 - Remove references to single-argument assertion methods.

This commit is contained in:
Christoph Strobl
2017-01-31 11:31:30 +01:00
committed by Oliver Gierke
parent 49817278b7
commit 3e048a6dca
55 changed files with 116 additions and 116 deletions

View File

@@ -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();