* @author Nick Burch
*/
public final class DocumentEncryptionAtom extends PositionDependentRecordAtom {
- private static long _type = 12052l;
- private byte[] _header;
+ private static final long _type = 12052l;
+ private final byte[] _header;
private EncryptionInfo ei;
/**
out.write(data, 0, bos.getWriteIndex());
}
+ @Override
public void updateOtherRecordReferences(Map<Integer,Integer> oldToNewReferencesLookup) {
-
+ // nothing to update
}
}
/**
* Record header.
*/
- private byte[] _header;
+ private final byte[] _header;
/**
* Record data.
myLastOnDiskOffset = offset;
}
+ @Override
public void updateOtherRecordReferences(Map<Integer,Integer> oldToNewReferencesLookup) {
- return;
+ // nothing to update
}
-
}
public final class PersistPtrHolder extends PositionDependentRecordAtom
{
- private byte[] _header;
+ private final byte[] _header;
private byte[] _ptrData; // Will need to update this once we allow updates to _slideLocations
private long _type;
* At write-out time, update the references to the sheets to their
* new positions
*/
+ @Override
public void updateOtherRecordReferences(Map<Integer,Integer> oldToNewReferencesLookup) {
// Loop over all the slides we know about
// Find where they used to live, and where they now live