[Webfunds-commits] java/webfunds/sox CommsKeyReply.java CommsKeyRequest.java

Jeroen C. van Gelderen gelderen@cypherpunks.ai
Sat, 29 Jul 2000 20:04:42 -0400 (AST)


gelderen    00/07/29 20:04:42

  Modified:    webfunds/sox CommsKeyReply.java CommsKeyRequest.java
  Log:
  Clean up a bit, remove stale Jikes workarounds.

Revision  Changes    Path
1.7       +2 -3      java/webfunds/sox/CommsKeyReply.java

Index: CommsKeyReply.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/CommsKeyReply.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- CommsKeyReply.java	2000/07/21 21:31:18	1.6
+++ CommsKeyReply.java	2000/07/30 00:04:42	1.7
@@ -1,5 +1,5 @@
 /*
- * $Id: CommsKeyReply.java,v 1.6 2000/07/21 21:31:18 gelderen Exp $
+ * $Id: CommsKeyReply.java,v 1.7 2000/07/30 00:04:42 gelderen Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -11,8 +11,7 @@
 import java.security.cert.Certificate;
 
 
-public class CommsKeyReply
-    extends BasicReply
+public class CommsKeyReply extends BasicReply
 {
     /**
      * The certificate contained in the reply



1.7       +10 -20    java/webfunds/sox/CommsKeyRequest.java

Index: CommsKeyRequest.java
===================================================================
RCS file: /home/webfunds/cvsroot/java/webfunds/sox/CommsKeyRequest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- CommsKeyRequest.java	2000/07/27 17:45:11	1.6
+++ CommsKeyRequest.java	2000/07/30 00:04:42	1.7
@@ -1,5 +1,5 @@
 /*
- * $Id: CommsKeyRequest.java,v 1.6 2000/07/27 17:45:11 gelderen Exp $
+ * $Id: CommsKeyRequest.java,v 1.7 2000/07/30 00:04:42 gelderen Exp $
  *
  * Copyright (c) Systemics Ltd 1995-1999 on behalf of
  * the WebFunds Development Team.  All Rights Reserved.
@@ -9,11 +9,9 @@
 import java.io.*;
 
 
-public class CommsKeyRequest
-    extends BasicRequest
-{
-    public CommsKeyRequest()
-    {
+public class CommsKeyRequest extends BasicRequest {
+
+    public CommsKeyRequest() {
     }
 
     public CommsKeyRequest(byte[] data)
@@ -28,24 +26,16 @@
         super(is);
     }
 
-    public void encode(OutputStream os)
-        throws IOException
-    {
-        os = null; // jikes
-        // DataOutputStream dos = new DataOutputStream(os);
+    public void encode(OutputStream os) throws IOException {
+        // no payload
     }
       
 
-    public void decode(InputStream is)
-        throws IOException
-    {
-        is = null; // jikes
-        // DataInputStream dis = new DataInputStream(is);
+    public void decode(InputStream is) throws IOException {
+        // no payload
     }
 
-    public String toString()
-    {
-        String s = "Communications key request";
-        return s;
+    public String toString() {
+        return "Communications key request";
     }
 }