summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-09-25 11:05:59 (EDT)
committerEike Stepper2007-09-25 11:05:59 (EDT)
commitaef3eef792542d7e4c09d1722fc9082dc0653108 (patch)
tree20bb7aaa28b8928ad1c422981a190c2e9f51677b
parent89394f9ef559356335d9433b244ad318ae388fca (diff)
downloadcdo-aef3eef792542d7e4c09d1722fc9082dc0653108.zip
cdo-aef3eef792542d7e4c09d1722fc9082dc0653108.tar.gz
cdo-aef3eef792542d7e4c09d1722fc9082dc0653108.tar.bz2
[204535] Missing CDO Mixins cause errors
https://bugs.eclipse.org/bugs/show_bug.cgi?id=204535
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TypeManager.java15
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TypeManager.java b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TypeManager.java
index ae3b81d..83cfb10 100644
--- a/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TypeManager.java
+++ b/plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TypeManager.java
@@ -316,13 +316,14 @@ public class TypeManager extends QueueWorker<ObjectEntry> implements ITypeManage
@Override
protected void writeKey(ExtendedDataOutput out, String key) throws IOException
{
- byte[] bytes = key.getBytes();
- if (bytes.length + 4 > getKeySize())
- {
- throw new IllegalArgumentException("Key size of " + getKeySize() + " exceeded: " + key);
- }
-
- ExtendedIOUtil.writeByteArray(out, bytes);
+ out.writeString(key);
+ // byte[] bytes = key.getBytes();
+ // if (bytes.length + 4 > getKeySize())
+ // {
+ // throw new IllegalArgumentException("Key size of " + getKeySize() + " exceeded: " + key);
+ // }
+ //
+ // ExtendedIOUtil.writeByteArray(out, bytes);
}
@Override