DATAREDIS-1105 - Fix typo on RedisTemplate javadoc.

Also fix typo in log message.
This commit is contained in:
Mark Paluch
2020-02-26 09:47:00 +01:00
parent fec6e226d6
commit 5891489b9d
2 changed files with 3 additions and 3 deletions

View File

@@ -362,14 +362,14 @@ public abstract class RedisConnectionUtils {
if (isPotentiallyThreadBoundCommand(commandToExecute)) {
if (log.isDebugEnabled()) {
log.debug(String.format("Invoke '%s' on bound conneciton", method.getName()));
log.debug(String.format("Invoke '%s' on bound connection", method.getName()));
}
return invoke(method, obj, args);
}
if (log.isDebugEnabled()) {
log.debug(String.format("Invoke '%s' on unbound conneciton", method.getName()));
log.debug(String.format("Invoke '%s' on unbound connection", method.getName()));
}
RedisConnection connection = factory.getConnection();

View File

@@ -450,7 +450,7 @@ public class RedisTemplate<K, V> extends RedisAccessor implements RedisOperation
}
/**
* Sets the default serializer to use for this template. All serializers (expect the
* Sets the default serializer to use for this template. All serializers (except the
* {@link #setStringSerializer(RedisSerializer)}) are initialized to this value unless explicitly set. Defaults to
* {@link JdkSerializationRedisSerializer}.
*