cache fixed

This commit is contained in:
Honfika
2014-01-29 01:07:14 +01:00
parent 0486cb3958
commit 5c5106b1c1

View File

@@ -129,12 +129,10 @@ public class SerializableImage implements Serializable {
}
private void writeObject(ObjectOutputStream out) throws IOException {
out.defaultWriteObject();
ImageIO.write(image, "png", out);
}
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
in.defaultReadObject();
image = ImageIO.read(in);
}
}