Skip to content

Commit 4d744da

Browse files
committed
feat: remove unused DBFunc imports from Cluster and PlotSquared classes
1 parent de4a63b commit 4d744da

File tree

4 files changed

+36
-3
lines changed

4 files changed

+36
-3
lines changed

Core/src/main/java/com/plotsquared/core/PlotSquared.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
import com.plotsquared.core.configuration.caption.load.DefaultCaptionProvider;
3131
import com.plotsquared.core.configuration.file.YamlConfiguration;
3232
import com.plotsquared.core.configuration.serialization.ConfigurationSerialization;
33-
import com.plotsquared.core.database.DBFunc;
3433
import com.plotsquared.core.generator.GeneratorWrapper;
3534
import com.plotsquared.core.generator.HybridPlotWorld;
3635
import com.plotsquared.core.generator.HybridUtils;

Core/src/main/java/com/plotsquared/core/command/Cluster.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import com.plotsquared.core.configuration.Settings;
2323
import com.plotsquared.core.configuration.caption.Caption;
2424
import com.plotsquared.core.configuration.caption.TranslatableCaption;
25-
import com.plotsquared.core.database.DBFunc;
2625
import com.plotsquared.core.events.TeleportCause;
2726
import com.plotsquared.core.location.BlockLoc;
2827
import com.plotsquared.core.location.Location;

Core/src/main/java/com/plotsquared/core/services/api/ClusterService.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* PlotSquared, a land and world management plugin for Minecraft.
3+
* Copyright (C) IntellectualSites <https://intellectualsites.com>
4+
* Copyright (C) IntellectualSites team and contributors
5+
*
6+
* This program is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
*/
119
package com.plotsquared.core.services.api;
220

321
import com.plotsquared.core.plot.PlotCluster;

Core/src/main/java/com/plotsquared/core/services/impl/ClusterDefaultService.java

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1+
/*
2+
* PlotSquared, a land and world management plugin for Minecraft.
3+
* Copyright (C) IntellectualSites <https://intellectualsites.com>
4+
* Copyright (C) IntellectualSites team and contributors
5+
*
6+
* This program is free software: you can redistribute it and/or modify
7+
* it under the terms of the GNU General Public License as published by
8+
* the Free Software Foundation, either version 3 of the License, or
9+
* (at your option) any later version.
10+
*
11+
* This program is distributed in the hope that it will be useful,
12+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14+
* GNU General Public License for more details.
15+
*
16+
* You should have received a copy of the GNU General Public License
17+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
18+
*/
119
package com.plotsquared.core.services.impl;
220

3-
import com.plotsquared.core.PlotSquared;
421
import com.plotsquared.core.persistence.entity.ClusterEntity;
522
import com.plotsquared.core.persistence.repository.api.ClusterHelperRepository;
623
import com.plotsquared.core.persistence.repository.api.ClusterInvitedRepository;

0 commit comments

Comments
 (0)