DATACOUCH-293 - Polishing.

Replace references to Assert single-arg methods with references to methods accepting the test object and message.
This commit is contained in:
Mark Paluch
2017-04-12 15:04:01 +02:00
parent 3ecc2cf6cb
commit 766e4eeebd

View File

@@ -69,8 +69,8 @@ public class SimpleReactiveCouchbaseRepository<T, ID extends Serializable> imple
*/
public SimpleReactiveCouchbaseRepository(final CouchbaseEntityInformation<T, String> 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;