diff options
author | Eike Stepper | 2013-11-13 11:15:27 +0000 |
---|---|---|
committer | Eike Stepper | 2013-11-13 11:15:27 +0000 |
commit | b773f96943fcde7fa221b4f1363e620e081503d1 (patch) | |
tree | 99369d28c240ce194c36890017278fe38ba5d337 /plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java | |
parent | a307f88fcbc1660fb3cd9fb1938a6a4423b2b723 (diff) | |
download | cdo-b773f96943fcde7fa221b4f1363e620e081503d1.tar.gz cdo-b773f96943fcde7fa221b4f1363e620e081503d1.tar.xz cdo-b773f96943fcde7fa221b4f1363e620e081503d1.zip |
[421605] [DB] If a DetachedRevision is the first revision in a branch then the version is off
https://bugs.eclipse.org/bugs/show_bug.cgi?id=421605
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java index 7ea4fa7979..06e68093d7 100644 --- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java +++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/mapping/horizontal/AbstractHorizontalMappingStrategy.java @@ -82,14 +82,14 @@ public abstract class AbstractHorizontalMappingStrategy extends AbstractMappingS return objectTypeMapper.getObjectType(accessor, id); } - public void putObjectType(IDBStoreAccessor accessor, long timeStamp, CDOID id, EClass type) + public boolean putObjectType(IDBStoreAccessor accessor, long timeStamp, CDOID id, EClass type) { - objectTypeMapper.putObjectType(accessor, timeStamp, id, type); + return objectTypeMapper.putObjectType(accessor, timeStamp, id, type); } - public void removeObjectType(IDBStoreAccessor accessor, CDOID id) + public boolean removeObjectType(IDBStoreAccessor accessor, CDOID id) { - objectTypeMapper.removeObjectType(accessor, id); + return objectTypeMapper.removeObjectType(accessor, id); } public void repairAfterCrash(IDBAdapter dbAdapter, Connection connection) |