Removed deprecated Table code

This commit is contained in:
Rsl1122 2017-09-28 14:42:47 +03:00
parent f8e585a246
commit 9a96141283

View File

@ -9,7 +9,6 @@ import main.java.com.djrapitops.plan.database.databases.SQLDB;
import main.java.com.djrapitops.plan.utilities.MiscUtils; import main.java.com.djrapitops.plan.utilities.MiscUtils;
import java.sql.Connection; import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException; import java.sql.SQLException;
import java.sql.Statement; import java.sql.Statement;
import java.util.List; 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 * @param toClose
*/ */
@ -174,18 +163,6 @@ public abstract class Table {
return tableName; 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 @Override
public boolean equals(Object o) { public boolean equals(Object o) {
if (this == o) return true; if (this == o) return true;