Shadow client field from PipelineBlock and TransactionBlock
* it prevent from user accessing BinaryClient, while it is not treated to pipeline command ** it could make troubles when reading responses
This commit is contained in:
@@ -2,5 +2,9 @@ package redis.clients.jedis;
|
||||
|
||||
|
||||
public abstract class PipelineBlock extends Pipeline {
|
||||
// For shadowing
|
||||
@SuppressWarnings("unused")
|
||||
private Client client;
|
||||
|
||||
public abstract void execute();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user