Relocate a comment in HttpPipeliningHandler
This commit moves a comment in HttpPipeliningHandler as it makes more sense for this comment to be where the field that it is explaining is declared.
This commit is contained in:
parent
30f723d2b0
commit
6ca90a61a6
|
@ -45,6 +45,7 @@ public class HttpPipeliningHandler extends ChannelDuplexHandler {
|
|||
private int readSequence;
|
||||
private int writeSequence;
|
||||
|
||||
// we use a priority queue so that responses are ordered by their sequence number
|
||||
private final PriorityQueue<HttpPipelinedResponse> holdingQueue;
|
||||
|
||||
/**
|
||||
|
@ -55,7 +56,6 @@ public class HttpPipeliningHandler extends ChannelDuplexHandler {
|
|||
*/
|
||||
public HttpPipeliningHandler(final int maxEventsHeld) {
|
||||
this.maxEventsHeld = maxEventsHeld;
|
||||
// we use a priority queue so that responses are ordered by their sequence number
|
||||
this.holdingQueue = new PriorityQueue<>(INITIAL_EVENTS_HELD);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue