You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by an...@apache.org on 2007/01/31 12:04:18 UTC
svn commit: r501800 -
/lenya/trunk/src/java/org/apache/lenya/cms/repository/SessionImpl.java
Author: andreas
Date: Wed Jan 31 03:04:18 2007
New Revision: 501800
URL: http://svn.apache.org/viewvc?view=rev&rev=501800
Log:
[minor change] removed unused fields
Modified:
lenya/trunk/src/java/org/apache/lenya/cms/repository/SessionImpl.java
Modified: lenya/trunk/src/java/org/apache/lenya/cms/repository/SessionImpl.java
URL: http://svn.apache.org/viewvc/lenya/trunk/src/java/org/apache/lenya/cms/repository/SessionImpl.java?view=diff&rev=501800&r1=501799&r2=501800
==============================================================================
--- lenya/trunk/src/java/org/apache/lenya/cms/repository/SessionImpl.java (original)
+++ lenya/trunk/src/java/org/apache/lenya/cms/repository/SessionImpl.java Wed Jan 31 03:04:18 2007
@@ -136,23 +136,16 @@
key);
}
- private Set newObjects = new HashSet();
- private Set modifiedObjects = new HashSet();
- private Set removedObjects = new HashSet();
-
public void registerNew(Transactionable object) throws TransactionException {
getUnitOfWork().registerNew(object);
- this.newObjects.add(object);
}
public void registerDirty(Transactionable object) throws TransactionException {
getUnitOfWork().registerDirty(object);
- this.modifiedObjects.add(object);
}
public void registerRemoved(Transactionable object) throws TransactionException {
getUnitOfWork().registerRemoved(object);
- this.removedObjects.add(object);
}
public void setIdentity(Identity identity) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org