Skip to content

Commit 08cb836

Browse files
committed
Delete Devtools cache reset support for HATEOAS
As of spring-projects/spring-hateoas#854, Spring HATEOAS is not relying on Objenesis anymore and removed the cache that was being used for it. This commit removes the support for clearing that cache when running an application with Devtools enabled. See gh-16833
1 parent 174c314 commit 08cb836

File tree

3 files changed

+0
-162
lines changed

3 files changed

+0
-162
lines changed

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/HateoasObjenesisCacheDisabler.java

Lines changed: 0 additions & 88 deletions
This file was deleted.

spring-boot-project/spring-boot-devtools/src/main/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfiguration.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ public ClassPathRestartStrategy classPathRestartStrategy() {
133133
this.properties.getRestart().getAllExclude());
134134
}
135135

136-
@Bean
137-
public HateoasObjenesisCacheDisabler hateoasObjenesisCacheDisabler() {
138-
return new HateoasObjenesisCacheDisabler();
139-
}
140-
141136
@Bean
142137
public FileSystemWatcherFactory fileSystemWatcherFactory() {
143138
return this::newFileSystemWatcher;

spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/HateoasObjenesisCacheDisablerTests.java

Lines changed: 0 additions & 69 deletions
This file was deleted.

0 commit comments

Comments
 (0)