Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/commit/FailureCommitInfo.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/commit/FailureCommitInfo.java232
1 files changed, 116 insertions, 116 deletions
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/commit/FailureCommitInfo.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/commit/FailureCommitInfo.java
index 11bc8b007a..1517828476 100644
--- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/commit/FailureCommitInfo.java
+++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/internal/common/commit/FailureCommitInfo.java
@@ -1,116 +1,116 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.internal.common.commit;
-
-import org.eclipse.emf.cdo.common.branch.CDOBranch;
-import org.eclipse.emf.cdo.common.commit.CDOChangeKind;
-import org.eclipse.emf.cdo.common.commit.CDOChangeSetData;
-import org.eclipse.emf.cdo.common.commit.CDOCommitInfo;
-import org.eclipse.emf.cdo.common.commit.CDOCommitInfoManager;
-import org.eclipse.emf.cdo.common.id.CDOID;
-import org.eclipse.emf.cdo.common.model.CDOPackageUnit;
-import org.eclipse.emf.cdo.common.revision.CDOIDAndVersion;
-import org.eclipse.emf.cdo.common.revision.CDORevisionKey;
-
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-/**
- * @author Eike Stepper
- */
-public class FailureCommitInfo implements CDOCommitInfo
-{
- private long timeStamp;
-
- private long previousTimeStamp;
-
- public FailureCommitInfo(long timeStamp, long previousTimeStamp)
- {
- this.timeStamp = timeStamp;
- this.previousTimeStamp = previousTimeStamp;
- }
-
- public long getTimeStamp()
- {
- return timeStamp;
- }
-
- public long getPreviousTimeStamp()
- {
- return previousTimeStamp;
- }
-
- public CDOBranch getBranch()
- {
- return null;
- }
-
- public String getUserID()
- {
- return null;
- }
-
- public String getComment()
- {
- return null;
- }
-
- public CDOCommitInfoManager getCommitInfoManager()
- {
- return null;
- }
-
- public boolean isEmpty()
- {
- return true;
- }
-
- public List<CDOPackageUnit> getNewPackageUnits()
- {
- return Collections.emptyList();
- }
-
- public List<CDOIDAndVersion> getNewObjects()
- {
- return Collections.emptyList();
- }
-
- public List<CDORevisionKey> getChangedObjects()
- {
- return Collections.emptyList();
- }
-
- public List<CDOIDAndVersion> getDetachedObjects()
- {
- return Collections.emptyList();
- }
-
- public Map<CDOID, CDOChangeKind> getChangeKinds()
- {
- return Collections.emptyMap();
- }
-
- public CDOChangeKind getChangeKind(CDOID id)
- {
- return null;
- }
-
- public CDOChangeSetData copy()
- {
- return this;
- }
-
- public void merge(CDOChangeSetData changeSetData)
- {
- throw new UnsupportedOperationException();
- }
-}
+/*
+ * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.internal.common.commit;
+
+import org.eclipse.emf.cdo.common.branch.CDOBranch;
+import org.eclipse.emf.cdo.common.commit.CDOChangeKind;
+import org.eclipse.emf.cdo.common.commit.CDOChangeSetData;
+import org.eclipse.emf.cdo.common.commit.CDOCommitInfo;
+import org.eclipse.emf.cdo.common.commit.CDOCommitInfoManager;
+import org.eclipse.emf.cdo.common.id.CDOID;
+import org.eclipse.emf.cdo.common.model.CDOPackageUnit;
+import org.eclipse.emf.cdo.common.revision.CDOIDAndVersion;
+import org.eclipse.emf.cdo.common.revision.CDORevisionKey;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * @author Eike Stepper
+ */
+public class FailureCommitInfo implements CDOCommitInfo
+{
+ private long timeStamp;
+
+ private long previousTimeStamp;
+
+ public FailureCommitInfo(long timeStamp, long previousTimeStamp)
+ {
+ this.timeStamp = timeStamp;
+ this.previousTimeStamp = previousTimeStamp;
+ }
+
+ public long getTimeStamp()
+ {
+ return timeStamp;
+ }
+
+ public long getPreviousTimeStamp()
+ {
+ return previousTimeStamp;
+ }
+
+ public CDOBranch getBranch()
+ {
+ return null;
+ }
+
+ public String getUserID()
+ {
+ return null;
+ }
+
+ public String getComment()
+ {
+ return null;
+ }
+
+ public CDOCommitInfoManager getCommitInfoManager()
+ {
+ return null;
+ }
+
+ public boolean isEmpty()
+ {
+ return true;
+ }
+
+ public List<CDOPackageUnit> getNewPackageUnits()
+ {
+ return Collections.emptyList();
+ }
+
+ public List<CDOIDAndVersion> getNewObjects()
+ {
+ return Collections.emptyList();
+ }
+
+ public List<CDORevisionKey> getChangedObjects()
+ {
+ return Collections.emptyList();
+ }
+
+ public List<CDOIDAndVersion> getDetachedObjects()
+ {
+ return Collections.emptyList();
+ }
+
+ public Map<CDOID, CDOChangeKind> getChangeKinds()
+ {
+ return Collections.emptyMap();
+ }
+
+ public CDOChangeKind getChangeKind(CDOID id)
+ {
+ return null;
+ }
+
+ public CDOChangeSetData copy()
+ {
+ return this;
+ }
+
+ public void merge(CDOChangeSetData changeSetData)
+ {
+ throw new UnsupportedOperationException();
+ }
+}

Back to the top