Polish "Simplify use of Reactor's cast operator"
See gh-32141
This commit is contained in:
parent
d96a63944c
commit
4b4778d569
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -167,8 +167,8 @@ public class PartEventHttpMessageReader extends LoggingCodecSupport implements H
|
|||
Assert.state(headersToken != null, "Signal should be headers token");
|
||||
|
||||
HttpHeaders headers = headersToken.headers();
|
||||
Flux<MultipartParser.BodyToken> bodyTokens =
|
||||
flux.ofType(MultipartParser.BodyToken.class);
|
||||
Flux<MultipartParser.BodyToken> bodyTokens = flux.ofType(
|
||||
MultipartParser.BodyToken.class);
|
||||
return createEvents(headers, bodyTokens);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue