comparison src/org/eclipse/jetty/http/AbstractGenerator.java @ 1016:8c13b9224cff

remove returnBuffer()
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 24 Oct 2016 01:38:00 -0600
parents 23ec25435b8c
children 921c25a05eaa
comparison
equal deleted inserted replaced
1015:0114d373748e 1016:8c13b9224cff
128 128
129 public final void returnBuffers() 129 public final void returnBuffers()
130 { 130 {
131 if (_buffer!=null && _buffer.length()==0) 131 if (_buffer!=null && _buffer.length()==0)
132 { 132 {
133 _buffers.returnBuffer(_buffer);
134 _buffer=null; 133 _buffer=null;
135 } 134 }
136 135
137 if (_header!=null && _header.length()==0) 136 if (_header!=null && _header.length()==0)
138 { 137 {
139 _buffers.returnBuffer(_header);
140 _header=null; 138 _header=null;
141 } 139 }
142 } 140 }
143 141
144 public final void resetBuffer() 142 public final void resetBuffer()