+ fix minor bug that caused the closing proxy to be always used

This commit is contained in:
Costin Leau
2010-11-29 20:20:51 +02:00
parent 37c0f8b242
commit d1a4b6268a

View File

@@ -83,7 +83,7 @@ public class RedisTemplate<K, V> extends RedisAccessor implements RedisOperation
}
public <T> T execute(RedisCallback<T> action, boolean exposeConnection) {
return execute(action, isExposeConnection(), valueSerializer);
return execute(action, exposeConnection, valueSerializer);
}
public <T> T execute(RedisCallback<T> action, boolean exposeConnection, RedisSerializer returnSerializer) {