aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-10-20 00:15:29 +0300
committerGravatar Vitaly Takmazov2020-10-20 00:15:29 +0300
commit7a693c2592a66d10dbba9c312856d4178889983c (patch)
treea8847e3e5a45c2acdee3dcaf3932e49eececba05
parentf4dbea81dec60f66a69a6532e0bcc9dcd027c344 (diff)
Clean up some JDT warnings
-rw-r--r--.settings/org.eclipse.jdt.core.prefs5
-rw-r--r--src/main/java/com/juick/config/WebConfig.java2
2 files changed, 5 insertions, 2 deletions
diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs
index 46e466ca..90d39e92 100644
--- a/.settings/org.eclipse.jdt.core.prefs
+++ b/.settings/org.eclipse.jdt.core.prefs
@@ -1,4 +1,7 @@
eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=15
+org.eclipse.jdt.core.compiler.compliance=15
org.eclipse.jdt.core.compiler.problem.deprecation=ignore
+org.eclipse.jdt.core.compiler.problem.missingSerialVersion=ignore
org.eclipse.jdt.core.compiler.problem.unusedLocal=ignore
+org.eclipse.jdt.core.compiler.source=15
diff --git a/src/main/java/com/juick/config/WebConfig.java b/src/main/java/com/juick/config/WebConfig.java
index 8b66eb39..b4f79d2b 100644
--- a/src/main/java/com/juick/config/WebConfig.java
+++ b/src/main/java/com/juick/config/WebConfig.java
@@ -92,7 +92,7 @@ public class WebConfig implements WebMvcConfigurer {
.build();
}
@Bean
- public Loader templateLoader() {
+ public Loader<?> templateLoader() {
return new ClasspathLoader();
}