mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-09 04:11:50 +01:00
Removed deprecated Table code
This commit is contained in:
parent
f8e585a246
commit
9a96141283
@ -9,7 +9,6 @@ import main.java.com.djrapitops.plan.database.databases.SQLDB;
|
||||
import main.java.com.djrapitops.plan.utilities.MiscUtils;
|
||||
|
||||
import java.sql.Connection;
|
||||
import java.sql.PreparedStatement;
|
||||
import java.sql.SQLException;
|
||||
import java.sql.Statement;
|
||||
import java.util.List;
|
||||
@ -108,16 +107,6 @@ public abstract class Table {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param sql
|
||||
* @return
|
||||
* @throws SQLException
|
||||
*/
|
||||
@Deprecated
|
||||
protected PreparedStatement prepareStatement(String sql) throws SQLException {
|
||||
return getConnection().prepareStatement(sql);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param toClose
|
||||
*/
|
||||
@ -174,18 +163,6 @@ public abstract class Table {
|
||||
return tableName;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
protected void endTransaction(Connection connection) throws SQLException {
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
protected void endTransaction(Statement statement) throws SQLException {
|
||||
if (statement == null) {
|
||||
return;
|
||||
}
|
||||
endTransaction(statement.getConnection());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) return true;
|
||||
|
Loading…
Reference in New Issue
Block a user