From 766e4eeebd23b06a8d56527bc14daecef9d5854f Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Wed, 12 Apr 2017 15:04:01 +0200 Subject: [PATCH] DATACOUCH-293 - Polishing. Replace references to Assert single-arg methods with references to methods accepting the test object and message. --- .../repository/support/SimpleReactiveCouchbaseRepository.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;