We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7df894 commit ae0548bCopy full SHA for ae0548b
src/main/java/ru/mystamps/web/config/MvcConfig.java
@@ -113,7 +113,7 @@ public void addResourceHandlers(ResourceHandlerRegistry registry) {
113
VersionResourceResolver resourceResolver = new VersionResourceResolver()
114
.addFixedVersionStrategy(ResourceUrl.RESOURCES_VERSION, "/**");
115
116
- @SuppressWarnings("checkstyle:magicnumber")
+ // CheckStyle: ignore MagicNumber for next 1 line
117
CacheControl cacheControl = CacheControl.maxAge(Duration.ofDays(7));
118
119
registry.addResourceHandler("/static/**")
0 commit comments