modules/andes-core/broker/src/main/java/org/wso2/andes/store/rdbms/RDBMSMessageStoreImpl.java
protected void close(PreparedStatement preparedStatement, String task) {
        try {
            if (preparedStatement != null && !preparedStatement.isClosed()) {
                preparedStatement.close();
            }
        } catch (SQLException e) {
            log.error("Closing prepared statement failed after " + task, e);
        }
    }
/**
     * Close the prepared statement resource.
     *
     * @param preparedStatement PreparedStatement
     * @param task              task that was done by the closed prepared statement.
     */
Close the prepared statement resource.
@param preparedStatement PreparedStatement
@param task              task that was done by the closed prepared statement.
Close the prepared statement resource . @param preparedStatement PreparedStatement @param task task that was done by the closed prepared statement .
protected void close(PreparedStatement preparedStatement, String task) {
        try {
            if (preparedStatement != null && !preparedStatement.isClosed()) {
                preparedStatement.close();
            }
        } catch (SQLException e) {
            log.error("Closing prepared statement failed after " + task, e);
        }
    }
protected void close ( PreparedStatement preparedStatement , String task ) { try { if ( preparedStatement != null && ! preparedStatement . isClosed ( ) ) { preparedStatement . close ( ) ; } } catch ( SQLException e ) { log . error ( "Closing prepared statement failed after " + task , e ) ; } }
Close the prepared statement resource.
Close the prepared statement resource .