Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-02-28 10:07:36 +0000
committerEike Stepper2010-02-28 10:07:36 +0000
commite2cfa9dd055a2533ff7282ffa9abcda151a4c751 (patch)
treeab62c14c9d689d1a2b39d619e5ba6c8d3c59d763 /plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/CommitNotificationIndication.java
parent335479690a034b0c1630f1a91ec109ceebae1f1c (diff)
downloadcdo-e2cfa9dd055a2533ff7282ffa9abcda151a4c751.tar.gz
cdo-e2cfa9dd055a2533ff7282ffa9abcda151a4c751.tar.xz
cdo-e2cfa9dd055a2533ff7282ffa9abcda151a4c751.zip
[256936] Support for Offline Mode
https://bugs.eclipse.org/bugs/show_bug.cgi?id=256936
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/CommitNotificationIndication.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/CommitNotificationIndication.java59
1 files changed, 1 insertions, 58 deletions
diff --git a/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/CommitNotificationIndication.java b/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/CommitNotificationIndication.java
index b70472680c..0e1b48ff96 100644
--- a/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/CommitNotificationIndication.java
+++ b/plugins/org.eclipse.emf.cdo.net4j/src/org/eclipse/emf/cdo/internal/net4j/protocol/CommitNotificationIndication.java
@@ -33,64 +33,7 @@ public class CommitNotificationIndication extends CDOClientIndication
protected void indicating(CDODataInput in) throws IOException
{
InternalCDOSession session = getSession();
- CDOCommitInfo commitInfo = in.readCDOCommitInfo(session.getCommitInfoManager());
+ CDOCommitInfo commitInfo = in.readCDOCommitInfo();
session.handleCommitNotification(commitInfo);
-
- // CDOBranchPoint branchPoint = in.readCDOBranchPoint();
- // if (TRACER.isEnabled())
- // {
- // TRACER.format("Read branchpoint: {0}", branchPoint); //$NON-NLS-1$
- // }
- //
- // CDOPackageUnit[] packageUnits = in.readCDOPackageUnits(null);
- // InternalCDOPackageRegistry packageRegistry = getSession().getPackageRegistry();
- // for (int i = 0; i < packageUnits.length; i++)
- // {
- // packageRegistry.putPackageUnit((InternalCDOPackageUnit)packageUnits[i]);
- // }
- //
- // int size = in.readInt();
- // if (TRACER.isEnabled())
- // {
- // TRACER.format("Reading {0} dirty IDs", size); //$NON-NLS-1$
- // }
- //
- // InternalCDOSession session = getSession();
- // Set<CDOIDAndVersion> dirtyOIDandVersions = new HashSet<CDOIDAndVersion>();
- // for (int i = 0; i < size; i++)
- // {
- // CDOIDAndVersion dirtyOIDandVersion = in.readCDOIDAndVersion();
- // if (TRACER.isEnabled())
- // {
- // TRACER.format("Read dirty ID: {0}", dirtyOIDandVersion); //$NON-NLS-1$
- // }
- //
- // dirtyOIDandVersions.add(dirtyOIDandVersion);
- // }
- //
- // size = in.readInt();
- // if (TRACER.isEnabled())
- // {
- // TRACER.format("Reading {0} Deltas", size); //$NON-NLS-1$
- // }
- //
- // List<CDORevisionDelta> deltas = new ArrayList<CDORevisionDelta>();
- // for (int i = 0; i < size; i++)
- // {
- // CDORevisionDelta revisionDelta = in.readCDORevisionDelta();
- // deltas.add(revisionDelta);
- // }
- //
- // size = in.readInt();
- // if (TRACER.isEnabled())
- // {
- // TRACER.format("Reading {0} Detach Objects", size); //$NON-NLS-1$
- // }
- //
- // List<CDOID> detachedObjects = new ArrayList<CDOID>();
- // for (int i = 0; i < size; i++)
- // {
- // detachedObjects.add(in.readCDOID());
- // }
}
}

Back to the top