aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-11-20 01:12:23 +0300
committerGravatar Vitaly Takmazov2018-11-20 01:12:23 +0300
commit152efe1f31e1e568272fc401a3a19f2c6f7c9c49 (patch)
treeb10aaf75cb93bd9bd8c73d705774e20e1ce7faa4 /src/main/java/com/juick/server/configuration/BaseWebConfiguration.java
parent930e6ab6d604963ae6a48c58fc1bd3735071d9ee (diff)
Avatars versioning
Diffstat (limited to 'src/main/java/com/juick/server/configuration/BaseWebConfiguration.java')
-rw-r--r--src/main/java/com/juick/server/configuration/BaseWebConfiguration.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java
index 23a35384..6a2a8142 100644
--- a/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java
+++ b/src/main/java/com/juick/server/configuration/BaseWebConfiguration.java
@@ -25,6 +25,7 @@ import org.springframework.web.servlet.config.annotation.PathMatchConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.resource.ResourceUrlEncodingFilter;
+import javax.annotation.Nonnull;
import java.util.concurrent.Executor;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
@@ -47,7 +48,7 @@ public class BaseWebConfiguration implements WebMvcConfigurer, SchedulingConfigu
}
@Override
- public void configureTasks(ScheduledTaskRegistrar taskRegistrar) {
+ public void configureTasks(@Nonnull ScheduledTaskRegistrar taskRegistrar) {
taskRegistrar.setScheduler(taskExecutor());
}