DATAREDIS-1198 - Move off deprecated Spring Framework API.

Replace TransactionSynchronizationAdapter with TransactionSynchronization.
This commit is contained in:
Mark Paluch
2020-08-04 13:43:55 +02:00
parent c148304c7c
commit cfa586a798

View File

@@ -297,13 +297,13 @@ public abstract class RedisConnectionUtils {
}
/**
* A {@link TransactionSynchronizationAdapter} that makes sure that the associated RedisConnection is released after
* the transaction completes.
* A {@link TransactionSynchronization} that makes sure that the associated RedisConnection is released after the
* transaction completes.
*
* @author Christoph Strobl
* @author Thomas Darimont
*/
private static class RedisTransactionSynchronizer extends TransactionSynchronizationAdapter {
private static class RedisTransactionSynchronizer implements TransactionSynchronization {
private final RedisConnectionHolder connHolder;
private final RedisConnection connection;