anchor.diff:             .create("trades");
   
   // transaction code
  -CacheTransactionManager txmgr = cache.getCacheTransactionManager();
  +CacheTransactionManager txManager = cache.getCacheTransactionManager();
   boolean retryTransaction = false;
   do {
     try {
  -    txmgr.begin();
  +    txManager.begin();
   
       // Subtract out the cost of the trade for this customer's balance
       Integer cashBalance = cash.get(customer);
  
positive.code:     newBalance = (tradeBalance != null ? tradeBalance : 0) + purchase;
      trades.put(customer, newBalance);
  
      txmgr.commit();
      retryTransaction = false;
    } 
    catch (CommitConflictException conflict) {
  
negative.code:     // All other exceptions will be handled by the caller. 
      // Any exception thrown by a method other than commit() needs
      // to do a rollback to avoid leaking the transaction state.
      if(txManager.exists()) {
        txManager.rollback();
      }       
    }       
  
  