Adopt to changed Mockk artifact name.

Closes #2405
This commit is contained in:
Mark Paluch
2022-09-12 10:26:44 +02:00
parent fe940adeba
commit 359d917a9e
2 changed files with 15 additions and 13 deletions

View File

@@ -21,18 +21,7 @@ package org.springframework.data.redis.connection;
*/
public class Limit {
private static final Limit UNLIMITED = new Limit() {
@Override
public int getCount() {
return -1;
}
@Override
public int getOffset() {
return super.getOffset();
}
};
private static final Limit UNLIMITED = new Unlimited();
int offset;
int count;
@@ -70,4 +59,17 @@ public class Limit {
public static Limit unlimited() {
return UNLIMITED;
}
private static class Unlimited extends Limit {
@Override
public int getCount() {
return -1;
}
@Override
public int getOffset() {
return super.getOffset();
}
}
}