diff --git a/src/main/java/org/springframework/data/couchbase/repository/support/SimpleReactiveCouchbaseRepository.java b/src/main/java/org/springframework/data/couchbase/repository/support/SimpleReactiveCouchbaseRepository.java index 09b61cb3..5bacc02c 100644 --- a/src/main/java/org/springframework/data/couchbase/repository/support/SimpleReactiveCouchbaseRepository.java +++ b/src/main/java/org/springframework/data/couchbase/repository/support/SimpleReactiveCouchbaseRepository.java @@ -69,8 +69,8 @@ public class SimpleReactiveCouchbaseRepository imple */ public SimpleReactiveCouchbaseRepository(final CouchbaseEntityInformation metadata, final RxJavaCouchbaseOperations operations) { - Assert.notNull(operations); - Assert.notNull(metadata); + Assert.notNull(operations, "RxJavaCouchbaseOperations must not be null!"); + Assert.notNull(metadata, "CouchbaseEntityInformation must not be null!"); this.entityInformation = metadata; this.operations = operations;