From 6e1e3ce14bc07df08e282e2318a595167e3a064b Mon Sep 17 00:00:00 2001 From: Govindas <16716020+Govindass@users.noreply.github.com> Date: Wed, 12 May 2021 12:20:13 +0300 Subject: [PATCH] Add Java 8 support --- pom.xml | 4 ++-- src/main/java/META-INF/MANIFEST.MF | 6 +++--- src/main/java/com/btk5h/skriptdb/skript/Types.java | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 44afd6d..b60921a 100644 --- a/pom.xml +++ b/pom.xml @@ -45,8 +45,8 @@ maven-compiler-plugin 3.6.1 - 11 - 11 + 8 + 8 UTF-8 diff --git a/src/main/java/META-INF/MANIFEST.MF b/src/main/java/META-INF/MANIFEST.MF index a13c998..4437b23 100644 --- a/src/main/java/META-INF/MANIFEST.MF +++ b/src/main/java/META-INF/MANIFEST.MF @@ -1,3 +1,3 @@ -Manifest-Version: 1.0 -Main-Class: com.btk5h.skriptdb.SkriptDB - +Manifest-Version: 1.0 +Main-Class: com.btk5h.skriptdb.SkriptDB + diff --git a/src/main/java/com/btk5h/skriptdb/skript/Types.java b/src/main/java/com/btk5h/skriptdb/skript/Types.java index b37e1b5..ca70830 100644 --- a/src/main/java/com/btk5h/skriptdb/skript/Types.java +++ b/src/main/java/com/btk5h/skriptdb/skript/Types.java @@ -14,7 +14,7 @@ public class Types { static { Classes.registerClass(new ClassInfo<>(HikariDataSource.class, "datasource") .user("datasources?") - .parser(new Parser<>() { + .parser(new Parser() { @Override public HikariDataSource parse(String s, ParseContext context) { return null; @@ -35,7 +35,7 @@ public class Types { return "jdbc:.+"; } }) - .serializer(new Serializer<>() { + .serializer(new Serializer() { @Override public Fields serialize(HikariDataSource o) { Fields fields = new Fields();