File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/java/com/nephren/raven/apiclient/aop Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 98
98
<artifactId >spring-boot-starter-parent</artifactId >
99
99
<groupId >org.springframework.boot</groupId >
100
100
<relativePath />
101
- <version >3.3.2 </version > <!-- lookup parent from repository -->
101
+ <version >2.7.18 </version > <!-- lookup parent from repository -->
102
102
</parent >
103
103
<properties >
104
104
<java .version>21</java .version>
112
112
</scm >
113
113
114
114
<url >https://github.com/richard483/raven-api-client</url >
115
- <version >0.1.1</version >
115
+ <version >0.1.1-s2 </version >
116
116
</project >
Original file line number Diff line number Diff line change 31
31
import org .springframework .context .ApplicationContextAware ;
32
32
import org .springframework .core .ParameterizedTypeReference ;
33
33
import org .springframework .core .type .AnnotationMetadata ;
34
- import org .springframework .http .HttpStatusCode ;
34
+ import org .springframework .http .HttpStatus ;
35
35
import org .springframework .http .MediaType ;
36
36
import org .springframework .http .ResponseEntity ;
37
37
import org .springframework .http .client .reactive .ReactorClientHttpConnector ;
@@ -280,7 +280,7 @@ private Mono handleResponseEntity(Mono<? extends WebClient.RequestHeadersSpec<?>
280
280
private Mono <WebClient .ResponseSpec > getResponseEntitySpec (
281
281
Mono <? extends WebClient .RequestHeadersSpec <
282
282
?>> client ) {
283
- return client .map (spec -> spec .retrieve ().onStatus (HttpStatusCode ::isError ,
283
+ return client .map (spec -> spec .retrieve ().onStatus (HttpStatus ::isError ,
284
284
clientResponse -> Mono .empty ()));
285
285
}
286
286
You can’t perform that action at this time.
0 commit comments