From dead46a732846e7f45209f5496e03025c1d7c63d Mon Sep 17 00:00:00 2001 From: Nikita Date: Wed, 23 Mar 2016 10:45:31 +0300 Subject: [PATCH] minor changes --- src/main/java/org/redisson/RedissonMultimap.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/org/redisson/RedissonMultimap.java b/src/main/java/org/redisson/RedissonMultimap.java index 53f4b1944..a072520a5 100644 --- a/src/main/java/org/redisson/RedissonMultimap.java +++ b/src/main/java/org/redisson/RedissonMultimap.java @@ -214,7 +214,6 @@ public abstract class RedissonMultimap extends RedissonExpirable implement public Future expireAsync(long timeToLive, TimeUnit timeUnit) { return commandExecutor.evalWriteAsync(getName(), LongCodec.INSTANCE, RedisCommands.EVAL_BOOLEAN, "local entries = redis.call('hgetall', KEYS[1]); " + - "local keys = {}; " + "for i, v in ipairs(entries) do " + "if i % 2 == 0 then " + "local name = '{' .. KEYS[1] .. '}:' .. v; " + @@ -229,7 +228,6 @@ public abstract class RedissonMultimap extends RedissonExpirable implement public Future expireAtAsync(long timestamp) { return commandExecutor.evalWriteAsync(getName(), LongCodec.INSTANCE, RedisCommands.EVAL_BOOLEAN, "local entries = redis.call('hgetall', KEYS[1]); " + - "local keys = {}; " + "for i, v in ipairs(entries) do " + "if i % 2 == 0 then " + "local name = '{' .. KEYS[1] .. '}:' .. v; " + @@ -244,7 +242,6 @@ public abstract class RedissonMultimap extends RedissonExpirable implement public Future clearExpireAsync() { return commandExecutor.evalWriteAsync(getName(), LongCodec.INSTANCE, RedisCommands.EVAL_BOOLEAN, "local entries = redis.call('hgetall', KEYS[1]); " + - "local keys = {}; " + "for i, v in ipairs(entries) do " + "if i % 2 == 0 then " + "local name = '{' .. KEYS[1] .. '}:' .. v; " +