Bug 59747: Adjust order of first two entries in the resulting Zip to try to enable some external tools to auto-detect the file-type
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1809357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e54490712a
commit
29dbeb51ad
@ -554,16 +554,16 @@ public final class ZipPackage extends OPCPackage {
|
||||
}
|
||||
}
|
||||
|
||||
// Save content type part.
|
||||
LOG.log(POILogger.DEBUG,"Save content types part");
|
||||
this.contentTypeManager.save(zos);
|
||||
|
||||
// Save package relationships part.
|
||||
LOG.log(POILogger.DEBUG,"Save package relationships");
|
||||
ZipPartMarshaller.marshallRelationshipPart(this.getRelationships(),
|
||||
PackagingURIHelper.PACKAGE_RELATIONSHIPS_ROOT_PART_NAME,
|
||||
zos);
|
||||
|
||||
// Save content type part.
|
||||
LOG.log(POILogger.DEBUG,"Save content types part");
|
||||
this.contentTypeManager.save(zos);
|
||||
|
||||
// Save parts.
|
||||
for (PackagePart part : getParts()) {
|
||||
// If the part is a relationship part, we don't save it, it's
|
||||
|
Loading…
Reference in New Issue
Block a user