Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2016-01-15 17:57:51 +0000
committerEike Stepper2016-01-15 17:57:51 +0000
commitd0f123f61bd8899b9afb63dc07c1a761e1cdc85e (patch)
treed555fcc420921c7520dcdf414fc9bff901880e4f /plugins/org.eclipse.emf.cdo.explorer
parent02fbd2120884fc08c98b507c60278f0310ee98a4 (diff)
downloadcdo-d0f123f61bd8899b9afb63dc07c1a761e1cdc85e.tar.gz
cdo-d0f123f61bd8899b9afb63dc07c1a761e1cdc85e.tar.xz
cdo-d0f123f61bd8899b9afb63dc07c1a761e1cdc85e.zip
[Releng] Clean up CDOCheckoutImpl
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.explorer')
-rw-r--r--plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/CDOCheckoutImpl.java36
1 files changed, 1 insertions, 35 deletions
diff --git a/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/CDOCheckoutImpl.java b/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/CDOCheckoutImpl.java
index 8268176b59..ad7a199eb0 100644
--- a/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/CDOCheckoutImpl.java
+++ b/plugins/org.eclipse.emf.cdo.explorer/src/org/eclipse/emf/cdo/internal/explorer/checkouts/CDOCheckoutImpl.java
@@ -633,41 +633,7 @@ public abstract class CDOCheckoutImpl extends AbstractElement implements CDOChec
CDOBranch branch = view.getBranch();
CDOBranchPoint head = branch.getHead();
- final CDOTransaction transaction = session.openTransaction(head, resourceSet);
- // transaction.addTransactionHandler(new CDODefaultTransactionHandler1()
- // {
- // private Job commitJob = new Job("Commit")
- // {
- // @Override
- // protected IStatus run(IProgressMonitor monitor)
- // {
- // try
- // {
- // synchronized (transaction)
- // {
- // if (transaction.isDirty())
- // {
- // transaction.commit();
- // }
- // }
- // }
- // catch (Throwable ex)
- // {
- // ex.printStackTrace();
- // }
- //
- // return Status.OK_STATUS;
- // }
- // };
- //
- // @Override
- // public void modifyingObject(CDOTransaction transaction, CDOObject object, CDOFeatureDelta featureChange)
- // {
- // commitJob.schedule(200);
- // }
- // });
-
- return transaction;
+ return session.openTransaction(head, resourceSet);
}
protected CDOView configureView(final CDOView view)

Back to the top