Skip to content

Commit

Permalink
Remove SqlManager
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMorpheus committed Mar 31, 2024
1 parent f14291e commit 381a30f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 126 deletions.
8 changes: 0 additions & 8 deletions src/main/java/org/spongepowered/api/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import org.spongepowered.api.registry.RegistryHolder;
import org.spongepowered.api.scheduler.Scheduler;
import org.spongepowered.api.service.ServiceProvider;
import org.spongepowered.api.sql.SqlManager;
import org.spongepowered.api.util.metric.MetricsConfigManager;

import java.nio.file.Path;
Expand Down Expand Up @@ -183,13 +182,6 @@ default Client client() {
*/
MetricsConfigManager metricsConfigManager();

/**
* Gets the {@link SqlManager} for grabbing sql data sources.
*
* @return The {@link SqlManager} instance.
*/
SqlManager sqlManager();

/**
* Gets the {@link ServiceProvider.GameScoped}, used to provide Sponge
* services that plugins may provide. Services provided here are
Expand Down
10 changes: 0 additions & 10 deletions src/main/java/org/spongepowered/api/Sponge.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
import org.spongepowered.api.plugin.PluginManager;
import org.spongepowered.api.scheduler.Scheduler;
import org.spongepowered.api.service.ServiceProvider;
import org.spongepowered.api.sql.SqlManager;
import org.spongepowered.api.util.metric.MetricsConfigManager;

/**
Expand Down Expand Up @@ -193,15 +192,6 @@ public static Scheduler asyncScheduler() {
return Sponge.game().asyncScheduler();
}

/**
* Gets the {@link SqlManager} for grabbing sql data sources.
*
* @return The {@link SqlManager} instance.
*/
public static SqlManager sqlManager() {
return Sponge.game().sqlManager();
}

/**
* Gets the {@link Game} scoped {@link ServiceProvider} for providing
* services.
Expand Down
82 changes: 0 additions & 82 deletions src/main/java/org/spongepowered/api/sql/SqlManager.java

This file was deleted.

26 changes: 0 additions & 26 deletions src/main/java/org/spongepowered/api/sql/package-info.java

This file was deleted.

0 comments on commit 381a30f

Please sign in to comment.