diff --git a/src/main/java/com/lambdaworks/redis/protocol/CommandEncoder.java b/src/main/java/com/lambdaworks/redis/protocol/CommandEncoder.java
index 60f43d14f3..29f007bd65 100644
--- a/src/main/java/com/lambdaworks/redis/protocol/CommandEncoder.java
+++ b/src/main/java/com/lambdaworks/redis/protocol/CommandEncoder.java
@@ -3,6 +3,7 @@
package com.lambdaworks.redis.protocol;
import java.nio.charset.Charset;
+import java.util.Collection;
import io.netty.buffer.ByteBuf;
import io.netty.channel.Channel;
@@ -18,7 +19,7 @@
* @author Mark Paluch
*/
@ChannelHandler.Sharable
-public class CommandEncoder extends MessageToByteEncoder> {
+public class CommandEncoder extends MessageToByteEncoder