comparison src/org/eclipse/jetty/io/AbstractBuffer.java @ 1037:3c4c7cc7904f

rename Buffer.hasContent() to hasRemaining()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 21:54:34 -0600
parents eca26899c4bc
children b71ad168fe34
comparison
equal deleted inserted replaced
1036:b87f97f6418a 1037:3c4c7cc7904f
169 public final int getIndex() 169 public final int getIndex()
170 { 170 {
171 return _get; 171 return _get;
172 } 172 }
173 173
174 public boolean hasContent() 174 public boolean hasRemaining()
175 { 175 {
176 return _put > _get; 176 return _put > _get;
177 } 177 }
178 178
179 @Override 179 @Override