We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3faddb commit b158ef7Copy full SHA for b158ef7
jetty-core/jetty-io/src/main/java/org/eclipse/jetty/io/MemoryEndPointPipe.java
@@ -325,10 +325,10 @@ public boolean flush(ByteBuffer... buffers) throws IOException
325
private RetainableByteBuffer lockedCopy(ByteBuffer buffer)
326
{
327
int length = buffer.remaining();
328
- long maxCap = getMaxCapacity();
329
- if (maxCap > 0)
+ long maxCapacity = getMaxCapacity();
+ if (maxCapacity > 0)
330
331
- long space = maxCap - capacity;
+ long space = maxCapacity - capacity;
332
if (space == 0)
333
return null;
334
length = (int)Math.min(length, space);
0 commit comments