code: public void rollback() throws IOException
     {
        try
        {
           for (int p = changes.size() - 1; p >= 0; p--)
              changes.get(p).rollback();
        }
        finally
        {
           changes.clear();
        }
     }
docs: {@inheritDoc}