diff --git a/jetty-websocket/websocket-core/src/main/java/org/eclipse/jetty/websocket/protocol/Generator.java b/jetty-websocket/websocket-core/src/main/java/org/eclipse/jetty/websocket/protocol/Generator.java index 3af5b403acd..59c223555da 100644 --- a/jetty-websocket/websocket-core/src/main/java/org/eclipse/jetty/websocket/protocol/Generator.java +++ b/jetty-websocket/websocket-core/src/main/java/org/eclipse/jetty/websocket/protocol/Generator.java @@ -18,7 +18,6 @@ package org.eclipse.jetty.websocket.protocol; import java.nio.ByteBuffer; import org.eclipse.jetty.io.ByteBufferPool; -import org.eclipse.jetty.io.StandardByteBufferPool; import org.eclipse.jetty.util.BufferUtil; import org.eclipse.jetty.util.log.Log; import org.eclipse.jetty.util.log.Logger; @@ -62,17 +61,6 @@ public class Generator private final ByteBufferPool bufferPool; private boolean validating; - /** - * - * @param policy - * @deprecated discouraged usage form - */ - @Deprecated - public Generator(WebSocketPolicy policy) - { - this(policy,new StandardByteBufferPool()); - } - /** * Construct Generator with provided policy and bufferPool *