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