/** * Called upon deserialization, which tells the log entries who their parent is * * @param ois The input stream */ private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException { ois.defaultReadObject(); for (int i = 0; i < entries.length; i++) if (entries[i] != null) entries[i].setParent(new PhantomLogEntry(entries[i])); }