refactor: rename static executors to uppercase snake case

This commit is contained in:
ChomeNS
2025-04-03 10:12:04 +07:00
parent 8ce017f7d0
commit 386bf69e7a
15 changed files with 33 additions and 33 deletions

View File

@@ -23,7 +23,7 @@ public class MailPlugin implements PlayersPlugin.Listener {
static {
if (Main.database != null) {
DatabasePlugin.executorService.submit(() -> {
DatabasePlugin.EXECUTOR_SERVICE.submit(() -> {
try {
Main.database.execute(CREATE_TABLE);
} catch (SQLException e) {
@@ -45,7 +45,7 @@ public class MailPlugin implements PlayersPlugin.Listener {
@Override
public void playerJoined (PlayerEntry target) {
DatabasePlugin.executorService.submit(() -> {
DatabasePlugin.EXECUTOR_SERVICE.submit(() -> {
final String name = target.profile.getName();
int sendToTargetSize = 0;