Add resttemplate-to-restclient module: RestTemplate deprecation on Spring Framework 7.1 / Boot 4.2.0 vs 4.1.3, method mapping, exchange() trap, bridge URI encoding, RestTestClient, OpenRewrite recipe run, with real transcripts
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b7M7FEdeEm3APj16Bu
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# 18-legacy-client-without-suppression (Spring Boot 4.2.0, JDK 25.0.5.1)
|
||||
$ javac -Xlint:deprecation -cp <module classpath> -d target/broken target/LegacyStudentClient.java
|
||||
target/LegacyStudentClient.java:19: warning: [removal] RestTemplate in org.springframework.web.client has been deprecated and marked for removal
|
||||
private final RestTemplate restTemplate;
|
||||
^
|
||||
target/LegacyStudentClient.java:23: warning: [removal] RestTemplate in org.springframework.web.client has been deprecated and marked for removal
|
||||
public LegacyStudentClient(RestTemplate restTemplate, String base) {
|
||||
^
|
||||
2 warnings
|
||||
exit: 0
|
||||
Reference in New Issue
Block a user