Skip to content

Commit

Permalink
Upgrade Undertow to latest (#2011)
Browse files Browse the repository at this point in the history
Upgrade Undertow to latest
  • Loading branch information
carterkozak authored Apr 3, 2023
1 parent d8dc373 commit a1c6ed5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.xnio.OptionMap;
import org.xnio.StreamConnection;
import org.xnio.XnioIoThread;
import org.xnio.channels.Configurable;
import org.xnio.conduits.ConduitStreamSinkChannel;
import org.xnio.conduits.ConduitStreamSourceChannel;
import org.xnio.conduits.StreamSinkConduit;
Expand All @@ -43,10 +44,11 @@ public static HttpServerExchange createStub() {

private static StreamConnection createStreamConnection() {
StreamConnection streamConnection = mock(StreamConnection.class);
ConduitStreamSinkChannel sinkChannel = new ConduitStreamSinkChannel(null, mock(StreamSinkConduit.class));
ConduitStreamSinkChannel sinkChannel =
new ConduitStreamSinkChannel(Configurable.EMPTY, mock(StreamSinkConduit.class));
lenient().when(streamConnection.getSinkChannel()).thenReturn(sinkChannel);
ConduitStreamSourceChannel sourceChannel =
new ConduitStreamSourceChannel(null, mock(StreamSourceConduit.class));
new ConduitStreamSourceChannel(Configurable.EMPTY, mock(StreamSourceConduit.class));
lenient().when(streamConnection.getSourceChannel()).thenReturn(sourceChannel);
XnioIoThread ioThread = mock(XnioIoThread.class);
lenient().when(streamConnection.getIoThread()).thenReturn(ioThread);
Expand Down
2 changes: 1 addition & 1 deletion versions.lock
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ com.palantir.tritium:tritium-registry:0.63.0 (11 constraints: f3df9b98)
com.squareup:javapoet:1.13.0 (2 constraints: 2b113eee)
info.picocli:picocli:4.7.1 (1 constraints: 0e051536)
io.dropwizard.metrics:metrics-core:4.1.33 (24 constraints: 6c7ccc07)
io.undertow:undertow-core:2.2.19.Final (2 constraints: e91964fe)
io.undertow:undertow-core:2.2.24.Final (2 constraints: e51975fd)
javax.annotation:javax.annotation-api:1.3.2 (7 constraints: 396987f4)
javax.validation:validation-api:2.0.1.Final (13 constraints: e5c5c6d1)
javax.ws.rs:javax.ws.rs-api:2.1.1 (14 constraints: b4f4b54a)
Expand Down
2 changes: 1 addition & 1 deletion versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ com.squareup:javapoet = 1.13.0
info.picocli:picocli = 4.7.1
io.dropwizard.metrics:metrics-core = 4.1.0
io.dropwizard:dropwizard-* = 2.0.34
io.undertow:undertow-core = 2.2.19.Final
io.undertow:* = 2.2.24.Final
javax.annotation:javax.annotation-api = 1.3.2
javax.validation:validation-api = 2.0.1.Final
javax.ws.rs:javax.ws.rs-api = 2.1.1
Expand Down

0 comments on commit a1c6ed5

Please sign in to comment.