Skip to content

Commit 5756047

Browse files
bjlaubfl4via
authored andcommitted
[UNDERTOW-2604] fix potential NPE from alternate ctor
Signed-off-by: Flavia Rainone <frainone@redhat.com>
1 parent e9e42f0 commit 5756047

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

core/src/main/java/io/undertow/conduits/InflatingStreamSourceConduit.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,7 @@ public InflatingStreamSourceConduit(
7373
HttpServerExchange exchange,
7474
StreamSourceConduit next,
7575
ObjectPool<Inflater> inflaterPool) {
76-
super(next);
77-
this.exchange = exchange;
78-
this.objectPoolNonWrapping = inflaterPool;
79-
this.objectPoolWrapping = null;
76+
this(exchange, next, inflaterPool, newInstanceWrappingInflaterPool());
8077
}
8178

8279
public InflatingStreamSourceConduit(

0 commit comments

Comments
 (0)