diff options
author | Pascal Junck <pjunck@openoffice.org> | 2004-11-03 08:05:24 +0000 |
---|---|---|
committer | Pascal Junck <pjunck@openoffice.org> | 2004-11-03 08:05:24 +0000 |
commit | 5f673628332049527582a2c5ebdb16b391e96ca6 (patch) | |
tree | 4093df764de590a02352b6ad466db0ca5cb2fd6e /jurt/com/sun/star/lib/uno/protocols/urp | |
parent | 096ffce72f7d85d9779dd2c64ded1fa6b22ca005 (diff) |
INTEGRATION: CWS sb22 (1.13.22); FILE MERGED
2004/09/27 11:25:31 sb 1.13.22.1: #i34239# Fixed mistake that prevented sequence<boolean> optimization from happening.
Diffstat (limited to 'jurt/com/sun/star/lib/uno/protocols/urp')
-rw-r--r-- | jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java b/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java index de89cfd1810d..35a97521b6f1 100644 --- a/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java +++ b/jurt/com/sun/star/lib/uno/protocols/urp/Unmarshal.java @@ -2,9 +2,9 @@ * * $RCSfile: Unmarshal.java,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: obo $ $Date: 2004-06-03 14:35:35 $ + * last change: $Author: pjunck $ $Date: 2004-11-03 09:05:24 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -414,12 +414,12 @@ final class Unmarshal { private Object readSequenceValue(TypeDescription type) { int len = readCompressedNumber(); - if (type.getTypeClass() == TypeClass.BYTE) { + TypeDescription ctype = (TypeDescription) type.getComponentType(); + if (ctype.getTypeClass() == TypeClass.BYTE) { byte[] data = new byte[len]; readBytes(data); return data; } else { - TypeDescription ctype = (TypeDescription) type.getComponentType(); Object value = Array.newInstance( ctype.getTypeClass() == TypeClass.ANY ? Object.class : ctype.getZClass(), len); |