public void add(Transaction transaction){
  LOG.debug("about to add: " + transaction);
  if (!transaction.isEmpty()) {
    mTransactions.add(transaction);
  }
}

public void add ( Transaction transaction ) { LOG . debug ( "about to add: " + transaction ) ; if ( ! transaction . isEmpty ( ) ) { mTransactions . add ( transaction ) ; } }
adds a transaction to the end of the queue .
