Removing discouraged form of Generator constructor
This commit is contained in:
parent
03fa76d333
commit
f4c0b376d6
|
@ -18,7 +18,6 @@ package org.eclipse.jetty.websocket.protocol;
|
||||||
import java.nio.ByteBuffer;
|
import java.nio.ByteBuffer;
|
||||||
|
|
||||||
import org.eclipse.jetty.io.ByteBufferPool;
|
import org.eclipse.jetty.io.ByteBufferPool;
|
||||||
import org.eclipse.jetty.io.StandardByteBufferPool;
|
|
||||||
import org.eclipse.jetty.util.BufferUtil;
|
import org.eclipse.jetty.util.BufferUtil;
|
||||||
import org.eclipse.jetty.util.log.Log;
|
import org.eclipse.jetty.util.log.Log;
|
||||||
import org.eclipse.jetty.util.log.Logger;
|
import org.eclipse.jetty.util.log.Logger;
|
||||||
|
@ -62,17 +61,6 @@ public class Generator
|
||||||
private final ByteBufferPool bufferPool;
|
private final ByteBufferPool bufferPool;
|
||||||
private boolean validating;
|
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
|
* Construct Generator with provided policy and bufferPool
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue