@@ -314,7 +314,7 @@ public Update currentTimestamp(String key) {
314
314
*/
315
315
public Update multiply (String key , Number multiplier ) {
316
316
317
- Assert .notNull (multiplier , "Multiplier must not be ' null' ." );
317
+ Assert .notNull (multiplier , "Multiplier must not be null." );
318
318
addMultiFieldOperation ("$mul" , key , multiplier .doubleValue ());
319
319
return this ;
320
320
}
@@ -331,7 +331,7 @@ public Update multiply(String key, Number multiplier) {
331
331
*/
332
332
public Update max (String key , Object value ) {
333
333
334
- Assert .notNull (value , "Value for max operation must not be ' null' ." );
334
+ Assert .notNull (value , "Value for max operation must not be null." );
335
335
addMultiFieldOperation ("$max" , key , value );
336
336
return this ;
337
337
}
@@ -348,7 +348,7 @@ public Update max(String key, Object value) {
348
348
*/
349
349
public Update min (String key , Object value ) {
350
350
351
- Assert .notNull (value , "Value for min operation must not be ' null' ." );
351
+ Assert .notNull (value , "Value for min operation must not be null." );
352
352
addMultiFieldOperation ("$min" , key , value );
353
353
return this ;
354
354
}
@@ -780,7 +780,7 @@ public PushOperatorBuilder slice(int count) {
780
780
*/
781
781
public PushOperatorBuilder sort (Direction direction ) {
782
782
783
- Assert .notNull (direction , "Direction must not be ' null' ." );
783
+ Assert .notNull (direction , "Direction must not be null." );
784
784
this .modifiers .addModifier (new SortModifier (direction ));
785
785
return this ;
786
786
}
@@ -795,7 +795,7 @@ public PushOperatorBuilder sort(Direction direction) {
795
795
*/
796
796
public PushOperatorBuilder sort (Sort sort ) {
797
797
798
- Assert .notNull (sort , "Sort must not be ' null' ." );
798
+ Assert .notNull (sort , "Sort must not be null." );
799
799
this .modifiers .addModifier (new SortModifier (sort ));
800
800
return this ;
801
801
}
0 commit comments