Skip to content

Commit 24f29a6

Browse files
committed
Polish
See gh-24099
1 parent 78fb3cc commit 24f29a6

File tree

1 file changed

+6
-0
lines changed
  • spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web

1 file changed

+6
-0
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,12 @@ public Cachecontrol getCachecontrol() {
195195
return this.cachecontrol;
196196
}
197197

198+
@Override
199+
@DeprecatedConfigurationProperty(replacement = "spring.web.resources.cache.use-last-modified")
200+
public boolean isUseLastModified() {
201+
return super.isUseLastModified();
202+
}
203+
198204
/**
199205
* Cache Control HTTP header configuration.
200206
*/

0 commit comments

Comments
 (0)