Skip to content
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>org.springframework.data</groupId>
<artifactId>spring-data-redis</artifactId>
<version>4.0.0-SNAPSHOT</version>
<version>4.0.0-GH-3236-SNAPSHOT</version>

<name>Spring Data Redis</name>
<description>Spring Data module for Redis</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,7 @@ public long cleanCache(RedisConnection connection, String name, byte[] pattern)
/**
* {@link BatchStrategy} using {@code SCAN}.
*/
static class Scan implements BatchStrategy {

private final int batchSize;

Scan(int batchSize) {
this.batchSize = batchSize;
}
record Scan(int batchSize) implements BatchStrategy {

@Override
public long cleanCache(RedisConnection connection, String name, byte[] pattern) {
Expand Down
Loading