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