import java.io.ObjectOutputStream;
import java.io.ObjectInputStream;
import java.util.ArrayList;
+import java.util.Collections;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
/** @return the list of extension attachments for this page */
public List getExtensionAttachments() {
- return this.extensionAttachments;
+ if (this.extensionAttachments == null) {
+ return Collections.EMPTY_LIST;
+ } else {
+ return this.extensionAttachments;
+ }
}
/** @return True if this is a blank page. */