mirror of https://github.com/apache/activemq.git
Use Input/Output Stream intefaces instead of concrete classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@470716 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
36de58b371
commit
ede5e3f23e
|
@ -24,7 +24,9 @@ import org.apache.activemq.wireformat.WireFormat;
|
|||
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 @@ public class XmppWireFormat implements WireFormat {
|
|||
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 */
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue