src/main/java/me/firewolf8385/flameperms/MySQL.java
/**
     * Make sure the database is connected.
     */
Make sure the database is connected.
Make sure the database is connected .
public static void ensureConnection()
    {
        try
        {
            PreparedStatement statement = MySQL.getConnection().prepareStatement("SELECT 1 from fp_groups WHERE");
            statement.executeQuery();
        }
        catch(SQLException e)
        {
        }
    }
public static void ensureConnection ( ) { try { PreparedStatement statement = MySQL . getConnection ( ) . prepareStatement ( "SELECT 1 from fp_groups WHERE" ) ; statement . executeQuery ( ) ; } catch ( SQLException e ) { } }
Make sure the database is connected.
Make sure the database is connected .
// Nothing.