@@ -55,10 +55,10 @@ public class GrailsRedisCache implements GrailsCache {
5555 /**
5656 * Constructor.
5757 *
58- * @param name cache name
59- * @param prefix prefix to use
58+ * @param name cache name
59+ * @param prefix prefix to use
6060 * @param template Spring template
61- * @param ttl time to live for cache
61+ * @param ttl time to live for cache
6262 */
6363 public GrailsRedisCache (String name , CacheKeyPrefix prefix , RedisTemplate <? extends Object , ? extends Object > template , Long ttl ) {
6464 Assert .hasText (name , "non-empty cache name is required" );
@@ -114,16 +114,16 @@ public T doInRedis(RedisConnection connection) throws DataAccessException {
114114 }, true );
115115 }
116116
117- @ Override
118- public <T > T get (final Object key , Callable <T > valueLoader ) {
119- /*
120- * FIXME: I had to add this method override in order to satisfy
121- * the Spring Cache interface. It looks like this method signature
122- * including the Callable parameter was added sometime after the
123- * original cache-redis plugin was developed (?).
124- */
125- return (T ) this .get (key );
126- }
117+ @ Override
118+ public <T > T get (final Object key , Callable <T > valueLoader ) {
119+ /*
120+ * FIXME: I had to add this method override in order to satisfy
121+ * the Spring Cache interface. It looks like this method signature
122+ * including the Callable parameter was added sometime after the
123+ * original cache-redis plugin was developed (?).
124+ */
125+ return (T ) this .get (key );
126+ }
127127
128128 @ SuppressWarnings ("unchecked" )
129129 @ Override
0 commit comments