Skip to content

Commit 054fb41

Browse files
committed
Private method does not throw checked exception
- Remove those from the private method signatures
1 parent b280733 commit 054fb41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@ private void consumeContinuationFrame(final RawFrame frame, final H2Stream strea
11451145
}
11461146
}
11471147

1148-
private void consumeSettingsFrame(final ByteBuffer payload) throws HttpException, IOException {
1148+
private void consumeSettingsFrame(final ByteBuffer payload) throws IOException {
11491149
final H2Config.Builder configBuilder = H2Config.initial();
11501150
while (payload.hasRemaining()) {
11511151
final int code = payload.getShort();

httpcore5/src/main/java/org/apache/hc/core5/http/impl/nio/ServerHttp1StreamHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ boolean isOutputReady() {
297297
}
298298
}
299299

300-
void produceOutput() throws HttpException, IOException {
300+
void produceOutput() throws IOException {
301301
switch (responseState) {
302302
case BODY:
303303
exchangeHandler.produce(internalDataChannel);

0 commit comments

Comments
 (0)