Skip to content

Commit 84cd307

Browse files
committed
Fix the build.
1 parent cf825f1 commit 84cd307

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

httpcore5-h2/src/main/java/org/apache/hc/core5/http2/impl/nio/AbstractH2StreamMultiplexer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1342,8 +1342,8 @@ void copyPayload(final ByteBuffer payload) {
13421342
if (payload == null) {
13431343
return;
13441344
}
1345-
int originalLength = headerBuffer.length();
1346-
int toCopy = payload.remaining();
1345+
final int originalLength = headerBuffer.length();
1346+
final int toCopy = payload.remaining();
13471347
headerBuffer.ensureCapacity(toCopy);
13481348
payload.get(headerBuffer.array(), originalLength, toCopy);
13491349
headerBuffer.setLength(originalLength + toCopy);

0 commit comments

Comments
 (0)