Author: mircea.markus
Date: 2008-08-28 06:55:54 -0400 (Thu, 28 Aug 2008)
New Revision: 6629
Modified:
core/trunk/src/main/java/org/jboss/cache/transaction/DummyUserTransaction.java
Log:
removed redundant field - status
Modified: core/trunk/src/main/java/org/jboss/cache/transaction/DummyUserTransaction.java
===================================================================
---
core/trunk/src/main/java/org/jboss/cache/transaction/DummyUserTransaction.java 2008-08-28
07:08:02 UTC (rev 6628)
+++
core/trunk/src/main/java/org/jboss/cache/transaction/DummyUserTransaction.java 2008-08-28
10:55:54 UTC (rev 6629)
@@ -22,7 +22,6 @@
*/
public class DummyUserTransaction implements UserTransaction, java.io.Serializable
{
- int status = Status.STATUS_UNKNOWN;
static final Log logger_ = LogFactory.getLog(DummyUserTransaction.class);
DummyTransactionManager tm_;
private static final long serialVersionUID = -6568400755677046127L;
@@ -50,7 +49,6 @@
public void begin() throws NotSupportedException, SystemException
{
tm_.begin();
- status = Status.STATUS_ACTIVE;
}
/**
@@ -75,7 +73,6 @@
{
tm_.commit();
- status = Status.STATUS_COMMITTED;
}
/**
@@ -91,7 +88,6 @@
public void rollback() throws IllegalStateException, SystemException
{
tm_.rollback();
- status = Status.STATUS_ROLLEDBACK;
}
/**
Show replies by date