no object serialization needed for BoundingBox

This commit is contained in:
Hannes Janetzek 2013-06-26 12:03:33 +02:00
parent 6feb9da067
commit 5da709ba8c

View File

@ -15,7 +15,6 @@
package org.oscim.core;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.util.List;
/**
@ -204,11 +203,11 @@ public class BoundingBox {
return result;
}
private void readObject(ObjectInputStream objectInputStream) throws IOException,
ClassNotFoundException {
objectInputStream.defaultReadObject();
this.hashCodeValue = calculateHashCode();
}
// private void readObject(ObjectInputStream objectInputStream) throws IOException,
// ClassNotFoundException {
// objectInputStream.defaultReadObject();
// this.hashCodeValue = calculateHashCode();
// }
/* code below is from osdmroid, @author Nicolas Gramlich */