diff --git a/Plan/src/main/java/com/djrapitops/plan/database/tables/TPSTable.java b/Plan/src/main/java/com/djrapitops/plan/database/tables/TPSTable.java index 584cced54..98956c216 100644 --- a/Plan/src/main/java/com/djrapitops/plan/database/tables/TPSTable.java +++ b/Plan/src/main/java/com/djrapitops/plan/database/tables/TPSTable.java @@ -117,7 +117,7 @@ public class TPSTable extends Table { * @param data * @throws SQLException */ - public void saveTPSData(List data) { + public void saveTPSData(List data) throws SQLException { List> batches = DBUtils.splitIntoBatches(data); batches.forEach(batch -> { try { diff --git a/Plan/src/main/java/com/djrapitops/plan/ui/webserver/WebServer.java b/Plan/src/main/java/com/djrapitops/plan/ui/webserver/WebServer.java index ed382d10b..aedcb8ecb 100644 --- a/Plan/src/main/java/com/djrapitops/plan/ui/webserver/WebServer.java +++ b/Plan/src/main/java/com/djrapitops/plan/ui/webserver/WebServer.java @@ -43,7 +43,6 @@ public class WebServer { private final int port; private boolean enabled = false; private HttpServer server; - private final int port; private boolean usingHttps = false;