From 904423211496b3ba44a43d495e791aa2e9d38a5b Mon Sep 17 00:00:00 2001
From: "BT (calcastor/mame)" <43831917+calcastor@users.noreply.github.com>
Date: Tue, 20 May 2025 16:26:32 -0700
Subject: [PATCH] Build against SportPaper-Paper intersect jar
---
pom.xml | 61 ++++++++++++-------
.../tc/oc/occ/database/ConnectionPool.java | 2 +-
2 files changed, 40 insertions(+), 23 deletions(-)
diff --git a/pom.xml b/pom.xml
index f0dfd92..b741468 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,8 +9,7 @@
A shared database plugin for Overcast Community
- 21
- 21
+ 21
UTF-8
tc.oc.occ.database.Database
applenick
@@ -40,11 +39,11 @@
-
+
- app.ashcon
- sportpaper
- 1.8.8-R0.1-SNAPSHOT
+ dev.pgm.paper
+ paper-api
+ 1.8_1.21.10-SNAPSHOT
provided
@@ -71,6 +70,20 @@
compile
+
+
+ org.jspecify
+ jspecify
+ 1.0.0
+
+
+
+
+ net.md-5
+ bungeecord-api
+ 1.21-R0.2
+ provided
+
@@ -86,7 +99,7 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.13.0
+ 3.14.1
-parameters
-
- com.spotify.fmt
- fmt-maven-plugin
- 2.27
-
-
-
-
-
-
- check
-
-
-
-
+
+ com.spotify.fmt
+ fmt-maven-plugin
+ 2.27
+
+
+
+ format
+
+
+
+
+
+ com.google.googlejavaformat
+ google-java-format
+ 1.27.0
+
+
+
diff --git a/src/main/java/tc/oc/occ/database/ConnectionPool.java b/src/main/java/tc/oc/occ/database/ConnectionPool.java
index 08bcdb0..24aa427 100644
--- a/src/main/java/tc/oc/occ/database/ConnectionPool.java
+++ b/src/main/java/tc/oc/occ/database/ConnectionPool.java
@@ -6,9 +6,9 @@
import java.sql.DatabaseMetaData;
import java.sql.SQLException;
import java.util.concurrent.CompletableFuture;
-import javax.annotation.Nullable;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandSender;
+import org.jspecify.annotations.Nullable;
public class ConnectionPool {