summaryrefslogtreecommitdiff
path: root/jurt/com
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-03-30 15:20:55 +0000
committerRüdiger Timm <rt@openoffice.org>2004-03-30 15:20:55 +0000
commit4e16ec9a853139c021d3b36b515365de99115c3d (patch)
tree49fad766e95f08b04eb49e12abce9b56772bc756 /jurt/com
parent34bd3d89cf30b5b7bc5955487692a5f27fdde674 (diff)
INTEGRATION: CWS sb14 (1.12.6); FILE MERGED
2004/03/05 08:14:08 sb 1.12.6.1: #i21150# Cleaned up.
Diffstat (limited to 'jurt/com')
-rw-r--r--jurt/com/sun/star/lib/uno/protocols/urp/urp.java22
1 files changed, 9 insertions, 13 deletions
diff --git a/jurt/com/sun/star/lib/uno/protocols/urp/urp.java b/jurt/com/sun/star/lib/uno/protocols/urp/urp.java
index a521f62f6ee0..41507aef4ab1 100644
--- a/jurt/com/sun/star/lib/uno/protocols/urp/urp.java
+++ b/jurt/com/sun/star/lib/uno/protocols/urp/urp.java
@@ -2,9 +2,9 @@
*
* $RCSfile: urp.java,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: kz $ $Date: 2004-03-25 14:54:26 $
+ * last change: $Author: rt $ $Date: 2004-03-30 16:20:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -97,7 +97,7 @@ import com.sun.star.uno.Type;
* from uno. The functionality is reachable through
* the <code>IProtocol</code> interface.
* <p>
- * @version $Revision: 1.13 $ $ $Date: 2004-03-25 14:54:26 $
+ * @version $Revision: 1.14 $ $ $Date: 2004-03-30 16:20:55 $
* @author Kay Ramme
* @see com.sun.star.lib.uno.environments.remote.IProtocol
* @since UDK1.0
@@ -521,16 +521,12 @@ public class urp extends Protocol {
return bytes;
}
- private void writeBlock(DataOutput dataOutput, byte bytes[], int message_count) throws IOException {
- if(DEBUG) System.err.println("##### " + getClass().getName() + ".writeBlock: size:" + bytes.length + " message_count:" + message_count);
-
- if(message_count != 1)
- System.err.println("##### " + getClass().getName() + ".writeBlock: size:" + bytes.length + " message_count:" + message_count);
-
- dataOutput.writeInt(bytes.length);
- dataOutput.writeInt(message_count);
-
- dataOutput.write(bytes);
+ private void writeBlock(DataOutput out, byte[] data, int messageCount)
+ throws IOException
+ {
+ out.writeInt(data.length);
+ out.writeInt(messageCount);
+ out.write(data);
}
static class Message implements IMessage {