src/com/farjad/db/DatabaseHandler.java
private static void closeAll(Connection connection, PreparedStatement preparedStatement, ResultSet resultSet) {

        closeResultSet(resultSet);
        closeStatement(preparedStatement);
        closeConnection(connection);
    }
/* Methods to close ResultSet, PreparedStatement, and Connection */
Methods to close ResultSet, PreparedStatement, and Connection
Methods to close ResultSet PreparedStatement and Connection
private static void closeAll(Connection connection, PreparedStatement preparedStatement, ResultSet resultSet) {
        closeResultSet(resultSet);
        closeStatement(preparedStatement);
        closeConnection(connection);
    }
private static void closeAll ( Connection connection , PreparedStatement preparedStatement , ResultSet resultSet ) { closeResultSet ( resultSet ) ; closeStatement ( preparedStatement ) ; closeConnection ( connection ) ; }
Methods to close ResultSet, PreparedStatement, and Connection
Methods to close ResultSet PreparedStatement and Connection