Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TransactionCommitContext.java20
1 files changed, 1 insertions, 19 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TransactionCommitContext.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TransactionCommitContext.java
index 39344b9c2e..3c31053c0c 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TransactionCommitContext.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TransactionCommitContext.java
@@ -47,9 +47,9 @@ import org.eclipse.emf.cdo.common.util.CDOQueryInfo;
import org.eclipse.emf.cdo.internal.common.commit.FailureCommitInfo;
import org.eclipse.emf.cdo.internal.common.model.CDOPackageRegistryImpl;
import org.eclipse.emf.cdo.internal.server.bundle.OM;
+import org.eclipse.emf.cdo.server.IRepository;
import org.eclipse.emf.cdo.server.IStoreAccessor;
import org.eclipse.emf.cdo.server.IStoreAccessor.QueryXRefsContext;
-import org.eclipse.emf.cdo.server.IRepository;
import org.eclipse.emf.cdo.server.IView;
import org.eclipse.emf.cdo.server.StoreThreadLocal;
import org.eclipse.emf.cdo.spi.common.commit.CDOCommitInfoUtil;
@@ -1257,8 +1257,6 @@ public class TransactionCommitContext implements InternalCommitContext
{
rollbackMessage = message;
- removePackageAdapters();
-
if (accessor != null)
{
try
@@ -1279,22 +1277,6 @@ public class TransactionCommitContext implements InternalCommitContext
}
}
- private void removePackageAdapters()
- {
- for (int i = 0; i < newPackageUnits.length; i++)
- {
- try
- {
- InternalCDOPackageUnit packageUnit = newPackageUnits[i];
- packageUnit.dispose();
- }
- catch (Throwable t)
- {
- OM.LOG.error(t);
- }
- }
- }
-
protected IStoreAccessor getAccessor()
{
return accessor;

Back to the top