activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r470716 - /incubator/activemq/trunk/activemq-xmpp/src/main/java/org/apache/activemq/transport/xmpp/XmppWireFormat.java
Date Fri, 03 Nov 2006 08:16:12 GMT
Author: rajdavies
Date: Fri Nov  3 00:16:11 2006
New Revision: 470716

URL: http://svn.apache.org/viewvc?view=rev&rev=470716
Log:
Use Input/Output Stream intefaces instead of concrete classes

Modified:
    incubator/activemq/trunk/activemq-xmpp/src/main/java/org/apache/activemq/transport/xmpp/XmppWireFormat.java

Modified: incubator/activemq/trunk/activemq-xmpp/src/main/java/org/apache/activemq/transport/xmpp/XmppWireFormat.java
URL: http://svn.apache.org/viewvc/incubator/activemq/trunk/activemq-xmpp/src/main/java/org/apache/activemq/transport/xmpp/XmppWireFormat.java?view=diff&rev=470716&r1=470715&r2=470716
==============================================================================
--- incubator/activemq/trunk/activemq-xmpp/src/main/java/org/apache/activemq/transport/xmpp/XmppWireFormat.java
(original)
+++ incubator/activemq/trunk/activemq-xmpp/src/main/java/org/apache/activemq/transport/xmpp/XmppWireFormat.java
Fri Nov  3 00:16:11 2006
@@ -24,7 +24,9 @@
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 
+import java.io.DataInput;
 import java.io.DataInputStream;
+import java.io.DataOutput;
 import java.io.DataOutputStream;
 import java.io.IOException;
 
@@ -200,11 +202,11 @@
         return unmarshal(dis);
     }
 
-    public void marshal(Object object, DataOutputStream dataOutputStream) throws IOException
{
+    public void marshal(Object object, DataOutput dataOutput) throws IOException {
         /** TODO */
     }
 
-    public Object unmarshal(DataInputStream dataInputStream) throws IOException {
+    public Object unmarshal(DataInput dataInput) throws IOException {
         return null;  /** TODO */
     }
 



Mime
View raw message