Skip to content

Commit d0a89d4

Browse files
authored
Polish 'pipelined()' in UnifiedJedis (#3442)
Polish #3437 (9e21013)
1 parent 5164a89 commit d0a89d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/redis/clients/jedis/PipelineBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public abstract class PipelineBase implements PipelineCommands, PipelineBinaryCommands,
3131
RedisModulePipelineCommands, Closeable {
3232

33-
@Deprecated protected final CommandObjects commandObjects;
33+
protected final CommandObjects commandObjects;
3434
private GraphCommandObjects graphCommandObjects;
3535

3636
public PipelineBase(CommandObjects commandObjects) {

src/main/java/redis/clients/jedis/UnifiedJedis.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4719,7 +4719,7 @@ public Map<String, Object> graphConfigGet(String configName) {
47194719
}
47204720
// RedisGraph commands
47214721

4722-
public Object pipelined() {
4722+
public PipelineBase pipelined() {
47234723
if (provider == null) {
47244724
throw new IllegalStateException("It is not allowed to create Pipeline from this " + getClass());
47254725
}

0 commit comments

Comments
 (0)