@@ -328,7 +328,7 @@ public StreamReceiverOptionsBuilder<K, V> batchSize(int recordsPerPoll) {
328
328
* @param pair must not be {@literal null}.
329
329
* @return {@code this} {@link StreamReceiverOptionsBuilder}.
330
330
*/
331
- @ SuppressWarnings ("unchecked" )
331
+ @ SuppressWarnings ({ "unchecked" , "rawtypes" } )
332
332
public <T > StreamReceiverOptionsBuilder <T , MapRecord <T , T , T >> serializer (SerializationPair <T > pair ) {
333
333
334
334
Assert .notNull (pair , "SerializationPair must not be null" );
@@ -345,7 +345,7 @@ public <T> StreamReceiverOptionsBuilder<T, MapRecord<T, T, T>> serializer(Serial
345
345
* @param serializationContext must not be {@literal null}.
346
346
* @return {@code this} {@link StreamReceiverOptionsBuilder}.
347
347
*/
348
- @ SuppressWarnings ("unchecked" )
348
+ @ SuppressWarnings ({ "unchecked" , "rawtypes" } )
349
349
public <T > StreamReceiverOptionsBuilder <T , MapRecord <T , T , T >> serializer (
350
350
RedisSerializationContext <T , ?> serializationContext ) {
351
351
@@ -364,7 +364,7 @@ public <T> StreamReceiverOptionsBuilder<T, MapRecord<T, T, T>> serializer(
364
364
* @param pair must not be {@literal null}.
365
365
* @return {@code this} {@link StreamReceiverOptionsBuilder}.
366
366
*/
367
- @ SuppressWarnings ("unchecked" )
367
+ @ SuppressWarnings ({ "unchecked" , "rawtypes" } )
368
368
public <NK , NV extends Record <NK , ?>> StreamReceiverOptionsBuilder <NK , NV > keySerializer (
369
369
SerializationPair <NK > pair ) {
370
370
@@ -380,7 +380,7 @@ public <T> StreamReceiverOptionsBuilder<T, MapRecord<T, T, T>> serializer(
380
380
* @param pair must not be {@literal null}.
381
381
* @return {@code this} {@link StreamReceiverOptionsBuilder}.
382
382
*/
383
- @ SuppressWarnings ("unchecked" )
383
+ @ SuppressWarnings ({ "unchecked" , "rawtypes" } )
384
384
public <HK , HV > StreamReceiverOptionsBuilder <K , MapRecord <K , HK , HV >> hashKeySerializer (
385
385
SerializationPair <HK > pair ) {
386
386
@@ -396,7 +396,7 @@ public <HK, HV> StreamReceiverOptionsBuilder<K, MapRecord<K, HK, HV>> hashKeySer
396
396
* @param pair must not be {@literal null}.
397
397
* @return {@code this} {@link StreamReceiverOptionsBuilder}.
398
398
*/
399
- @ SuppressWarnings ("unchecked" )
399
+ @ SuppressWarnings ({ "unchecked" , "rawtypes" } )
400
400
public <HK , HV > StreamReceiverOptionsBuilder <K , MapRecord <K , HK , HV >> hashValueSerializer (
401
401
SerializationPair <HV > pair ) {
402
402
@@ -412,7 +412,7 @@ public <HK, HV> StreamReceiverOptionsBuilder<K, MapRecord<K, HK, HV>> hashValueS
412
412
* @param targetType must not be {@literal null}.
413
413
* @return {@code this} {@link StreamReceiverOptionsBuilder}.
414
414
*/
415
- @ SuppressWarnings ("unchecked" )
415
+ @ SuppressWarnings ({ "unchecked" , "rawtypes" } )
416
416
public <NV > StreamReceiverOptionsBuilder <K , ObjectRecord <K , NV >> targetType (Class <NV > targetType ) {
417
417
418
418
Assert .notNull (targetType , "Target type must not be null" );
@@ -435,7 +435,7 @@ public <NV> StreamReceiverOptionsBuilder<K, ObjectRecord<K, NV>> targetType(Clas
435
435
* @param hashMapper must not be {@literal null}.
436
436
* @return {@code this} {@link StreamReceiverOptionsBuilder}.
437
437
*/
438
- @ SuppressWarnings ("unchecked" )
438
+ @ SuppressWarnings ({ "unchecked" , "rawtypes" } )
439
439
public <NV > StreamReceiverOptionsBuilder <K , ObjectRecord <K , NV >> objectMapper (HashMapper <NV , ?, ?> hashMapper ) {
440
440
441
441
Assert .notNull (hashMapper , "HashMapper must not be null" );
0 commit comments