Skip to content

Commit b158ef7

Browse files
committed
Rename maxCap to maxCapacity
1 parent e3faddb commit b158ef7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

jetty-core/jetty-io/src/main/java/org/eclipse/jetty/io/MemoryEndPointPipe.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,10 +325,10 @@ public boolean flush(ByteBuffer... buffers) throws IOException
325325
private RetainableByteBuffer lockedCopy(ByteBuffer buffer)
326326
{
327327
int length = buffer.remaining();
328-
long maxCap = getMaxCapacity();
329-
if (maxCap > 0)
328+
long maxCapacity = getMaxCapacity();
329+
if (maxCapacity > 0)
330330
{
331-
long space = maxCap - capacity;
331+
long space = maxCapacity - capacity;
332332
if (space == 0)
333333
return null;
334334
length = (int)Math.min(length, space);

0 commit comments

Comments
 (0)