if (id.getNodeId().equals(nodeId))
if (id.getNodeId() == nodeId)
   public void check(String nodeId) throws Throwable   {      synchronized (holdingArea)      {         Iterator iter = holdingArea.entrySet().iterator();                  List toRemove = new ArrayList();                  while (iter.hasNext())         {            Map.Entry entry = (Map.Entry)iter.next();                        TransactionId id = (TransactionId)entry.getKey();                        if (id.getNodeId().equals(nodeId))            {               ClusterTransaction tx = (ClusterTransaction)iter.next();                              boolean commit = tx.check(this);                              if (commit)               {                  tx.commit(this);               }               else               {                  tx.rollback(this);               }                              toRemove.add(tx);            }         }                  //Remove the transactions from the holding area                  iter = toRemove.iterator();                  while (iter.hasNext())         {            TransactionId id = (TransactionId)iter.next();                        holdingArea.remove(id);         }      }   }