@@ -132,7 +132,7 @@ public String convert(byte[] source) {
132132 private class SerializingConverter implements Converter <String , byte []> {
133133
134134 @ Override
135- public byte @ Nullable [] convert (String source ) {
135+ public byte @ Nullable [] convert (String source ) {
136136 return serializer .serialize (source );
137137 }
138138 }
@@ -393,9 +393,8 @@ public byte[] get(byte[] key) {
393393 return convertAndReturn (delegate .get (key ), Converters .identityConverter ());
394394 }
395395
396-
397396 @ Override
398- public byte @ Nullable [] getDel (byte [] key ) {
397+ public byte @ Nullable [] getDel (byte [] key ) {
399398 return convertAndReturn (delegate .getDel (key ), Converters .identityConverter ());
400399 }
401400
@@ -404,9 +403,8 @@ public byte[] get(byte[] key) {
404403 return convertAndReturn (delegate .getDel (serialize (key )), bytesToString );
405404 }
406405
407-
408406 @ Override
409- public byte @ Nullable [] getEx (byte [] key , Expiration expiration ) {
407+ public byte @ Nullable [] getEx (byte [] key , Expiration expiration ) {
410408 return convertAndReturn (delegate .getEx (key , expiration ), Converters .identityConverter ());
411409 }
412410
@@ -1387,8 +1385,7 @@ private org.springframework.data.domain.Range.Bound<byte[]> rawBound(
13871385 @ SuppressWarnings ("unchecked" )
13881386 private GeoReference <byte []> serialize (GeoReference <String > data ) {
13891387 return data instanceof GeoReference .GeoMemberReference
1390- ? GeoReference
1391- .fromMember (serializer .serialize (((GeoMemberReference <String >) data ).getMember ()))
1388+ ? GeoReference .fromMember (serializer .serialize (((GeoMemberReference <String >) data ).getMember ()))
13921389 : (GeoReference ) data ;
13931390 }
13941391
@@ -1538,9 +1535,8 @@ public Double hIncrBy(String key, String field, double delta) {
15381535 return hIncrBy (serialize (key ), serialize (field ), delta );
15391536 }
15401537
1541-
15421538 @ Override
1543- public byte @ Nullable [] hRandField (byte [] key ) {
1539+ public byte @ Nullable [] hRandField (byte [] key ) {
15441540 return convertAndReturn (delegate .hRandField (key ), Converters .identityConverter ());
15451541 }
15461542
@@ -1627,8 +1623,10 @@ public List<String> hGetEx(String key, Expiration expiration, String... fields)
16271623 }
16281624
16291625 @ Override
1630- public Boolean hSetEx (@ NonNull String key , @ NonNull Map <@ NonNull String , String > hashes , HashFieldSetOption condition , Expiration expiration ) {
1631- return convertAndReturn (delegate .hSetEx (serialize (key ), serialize (hashes ), condition , expiration ), Converters .identityConverter ());
1626+ public Boolean hSetEx (@ NonNull String key , @ NonNull Map <@ NonNull String , String > hashes , HashFieldSetOption condition ,
1627+ Expiration expiration ) {
1628+ return convertAndReturn (delegate .hSetEx (serialize (key ), serialize (hashes ), condition , expiration ),
1629+ Converters .identityConverter ());
16321630 }
16331631
16341632 @ Override
@@ -2563,8 +2561,7 @@ public Long hStrLen(byte[] key, byte[] field) {
25632561 }
25642562
25652563 public @ Nullable List <Long > applyHashFieldExpiration (byte [] key ,
2566- org .springframework .data .redis .core .types .Expiration expiration ,
2567- ExpirationOptions options , byte []... fields ) {
2564+ org .springframework .data .redis .core .types .Expiration expiration , ExpirationOptions options , byte []... fields ) {
25682565 return this .delegate .applyHashFieldExpiration (key , expiration , options , fields );
25692566 }
25702567
@@ -2609,25 +2606,24 @@ public List<Long> hTtl(byte[] key, TimeUnit timeUnit, byte[]... fields) {
26092606 return this .delegate .hTtl (key , timeUnit , fields );
26102607 }
26112608
2612- @ Override
2613- public List <byte []> hGetDel (@ NonNull byte [] key , @ NonNull byte []... fields ) {
2614- return convertAndReturn (delegate .hGetDel (key , fields ), Converters .identityConverter ());
2615- }
2609+ @ Override
2610+ public List <byte []> hGetDel (@ NonNull byte [] key , @ NonNull byte []... fields ) {
2611+ return convertAndReturn (delegate .hGetDel (key , fields ), Converters .identityConverter ());
2612+ }
26162613
2617- @ Override
2618- public List <byte []> hGetEx (@ NonNull byte [] key , @ Nullable Expiration expiration , @ NonNull byte []... fields ) {
2614+ @ Override
2615+ public List <byte []> hGetEx (@ NonNull byte [] key , @ Nullable Expiration expiration , @ NonNull byte []... fields ) {
26192616 return convertAndReturn (delegate .hGetEx (key , expiration , fields ), Converters .identityConverter ());
26202617 }
26212618
2622- @ Override
2623- public Boolean hSetEx (@ NonNull byte [] key , @ NonNull Map <byte [], byte []> hashes , @ NonNullHashFieldSetOption condition ,
2624- @ Nullable Expiration expiration ) {
2619+ @ Override
2620+ public Boolean hSetEx (@ NonNull byte [] key , @ NonNull Map <byte [], byte []> hashes , @ NonNull HashFieldSetOption condition ,
2621+ @ Nullable Expiration expiration ) {
26252622 return convertAndReturn (delegate .hSetEx (key , hashes , condition , expiration ), Converters .identityConverter ());
26262623 }
26272624
26282625 public @ Nullable List <Long > applyExpiration (String key ,
2629- org .springframework .data .redis .core .types .Expiration expiration ,
2630- ExpirationOptions options , String ... fields ) {
2626+ org .springframework .data .redis .core .types .Expiration expiration , ExpirationOptions options , String ... fields ) {
26312627 return this .applyHashFieldExpiration (serialize (key ), expiration , options , serializeMulti (fields ));
26322628 }
26332629
@@ -2816,16 +2812,14 @@ public Set<String> zRevRangeByLex(String key, org.springframework.data.domain.Ra
28162812 }
28172813
28182814 @ Override
2819- public Long zRangeStoreByLex (byte [] dstKey , byte [] srcKey ,
2820- org .springframework .data .domain .Range <byte []> range ,
2821- org .springframework .data .redis .connection .Limit limit ) {
2822- return convertAndReturn (delegate .zRangeStoreByLex (dstKey , srcKey , range , limit ),
2823- Converters .identityConverter ());
2815+ public Long zRangeStoreByLex (byte [] dstKey , byte [] srcKey , org .springframework .data .domain .Range <byte []> range ,
2816+ org .springframework .data .redis .connection .Limit limit ) {
2817+ return convertAndReturn (delegate .zRangeStoreByLex (dstKey , srcKey , range , limit ), Converters .identityConverter ());
28242818 }
28252819
28262820 @ Override
2827- public Long zRangeStoreByLex (String dstKey , String srcKey ,
2828- org .springframework .data .domain . Range < String > range , org . springframework . data . redis .connection .Limit limit ) {
2821+ public Long zRangeStoreByLex (String dstKey , String srcKey , org . springframework . data . domain . Range < String > range ,
2822+ org .springframework .data .redis .connection .Limit limit ) {
28292823 return convertAndReturn (delegate .zRangeStoreByLex (serialize (dstKey ), serialize (srcKey ), serialize (range ), limit ),
28302824 Converters .identityConverter ());
28312825 }
@@ -2846,9 +2840,8 @@ public Long zRangeStoreRevByLex(String dstKey, String srcKey, org.springframewor
28462840 @ Override
28472841 public Long zRangeStoreByScore (byte [] dstKey , byte [] srcKey ,
28482842 org .springframework .data .domain .Range <? extends Number > range ,
2849- org .springframework .data .redis .connection .Limit limit ) {
2850- return convertAndReturn (delegate .zRangeStoreByScore (dstKey , srcKey , range , limit ),
2851- Converters .identityConverter ());
2843+ org .springframework .data .redis .connection .Limit limit ) {
2844+ return convertAndReturn (delegate .zRangeStoreByScore (dstKey , srcKey , range , limit ), Converters .identityConverter ());
28522845 }
28532846
28542847 @ Override
0 commit comments