From dbb954734e0d4749d9d83c6e0db45de6306f80d6 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Mon, 2 Nov 2020 20:49:00 +0000 Subject: [PATCH] Correct replacement for stale-while-revalidate config property Fixes gh-23980 --- .../boot/autoconfigure/web/ResourceProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java index 5ebe96d0b8ba..ff88c85636c4 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ResourceProperties.java @@ -251,7 +251,7 @@ public Boolean getProxyRevalidate() { @Override @DeprecatedConfigurationProperty( - replacement = "spring.web.resources.cache.cachecontrol.stale-while-revaliate") + replacement = "spring.web.resources.cache.cachecontrol.stale-while-revalidate") public Duration getStaleWhileRevalidate() { return super.getStaleWhileRevalidate(); }