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:
Jungtaek Lim
2014-01-20 14:35:42 +09:00
parent 2267c3318c
commit bc7cc5eddb
3 changed files with 17 additions and 1 deletions

View File

@@ -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();
}