Polish RedisZSet.

Improve Javadoc. Add static factory methods for easier RedisZSet construction.

See #2007
Original Pull Request: #2088
This commit is contained in:
Mark Paluch
2021-06-16 14:18:18 +02:00
committed by Christoph Strobl
parent bdf15de653
commit 755c8417a3
5 changed files with 139 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ public class RedisZSetIntegrationTests extends AbstractRedisZSetTestIntegration<
}
RedisStore copyStore(RedisStore store) {
return new DefaultRedisZSet(store.getKey().toString(), store.getOperations());
return RedisZSet.create(store.getKey(), store.getOperations());
}
AbstractRedisCollection<Object> createCollection() {