summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-08-25 13:36:47 (EDT)
committerEike Stepper2007-08-25 13:36:47 (EDT)
commit7cf8d2fd1dd46333d6efe77568be169ddc0b1afc (patch)
tree4d6299adef292eb47c1a19b02c0293408ef835ed
parent513ce5f412b3058b8763e46df6c43dd80e0a87ae (diff)
downloadcdo-7cf8d2fd1dd46333d6efe77568be169ddc0b1afc.zip
cdo-7cf8d2fd1dd46333d6efe77568be169ddc0b1afc.tar.gz
cdo-7cf8d2fd1dd46333d6efe77568be169ddc0b1afc.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo.server/src/org/eclipse/emf/cdo/internal/server/TypeManager.java4
1 files changed, 2 insertions, 2 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 4aeddf3..a104d53 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
@@ -300,9 +300,9 @@ public class TypeManager extends QueueWorker<ObjectEntry> implements ITypeManage
protected void writeKey(ExtendedDataOutput out, String key) throws IOException
{
byte[] bytes = key.getBytes();
- if (bytes.length + 4 > getValueSize())
+ if (bytes.length + 4 > getKeySize())
{
- throw new IllegalArgumentException("Key size of " + getValueSize() + " exceeded: " + key);
+ throw new IllegalArgumentException("Key size of " + getKeySize() + " exceeded: " + key);
}
ExtendedIOUtil.writeByteArray(out, bytes);