Commit bec12557 authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

Initial version (rediux)

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@8132 b35dd754-fafc-0310-a699-88a17e54d16e
parent dd05ce44
...@@ -145,27 +145,27 @@ public class ExternalizableUtil { ...@@ -145,27 +145,27 @@ public class ExternalizableUtil {
return strategy.readLongArray(in); return strategy.readLongArray(in);
} }
public void writeLong(DataOutput out, long value) { public void writeLong(DataOutput out, long value) throws IOException {
strategy.writeLong(out, value); strategy.writeLong(out, value);
} }
public long readLong(DataInput in) { public long readLong(DataInput in) throws IOException {
return strategy.readLong(in); return strategy.readLong(in);
} }
public void writeBoolean(DataOutput out, boolean value) { public void writeBoolean(DataOutput out, boolean value) throws IOException {
strategy.writeBoolean(out, value); strategy.writeBoolean(out, value);
} }
public boolean readBoolean(DataInput in) { public boolean readBoolean(DataInput in) throws IOException {
return strategy.readBoolean(in); return strategy.readBoolean(in);
} }
public void writeSafeUTF(DataOutput out, String value) { public void writeSafeUTF(DataOutput out, String value) throws IOException {
strategy.writeSafeUTF(out, value); strategy.writeSafeUTF(out, value);
} }
public String readSafeUTF(DataInput in) { public String readSafeUTF(DataInput in) throws IOException {
return strategy.readSafeUTF(in); return strategy.readSafeUTF(in);
} }
} }
...@@ -105,15 +105,15 @@ public interface ExternalizableUtilStrategy { ...@@ -105,15 +105,15 @@ public interface ExternalizableUtilStrategy {
*/ */
public long [] readLongArray(DataInput in) throws IOException; public long [] readLongArray(DataInput in) throws IOException;
public void writeLong(DataOutput out, long value); public void writeLong(DataOutput out, long value) throws IOException;
public long readLong(DataInput in); public long readLong(DataInput in) throws IOException;
public void writeBoolean(DataOutput out, boolean value); public void writeBoolean(DataOutput out, boolean value) throws IOException;
public boolean readBoolean(DataInput in); public boolean readBoolean(DataInput in) throws IOException;
public void writeSafeUTF(DataOutput out, String value); public void writeSafeUTF(DataOutput out, String value) throws IOException;
public String readSafeUTF(DataInput in); public String readSafeUTF(DataInput in) throws IOException;
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment