Author: fanningpj
Date: Thu Mar 20 11:56:45 2025
New Revision: 1924496
URL: http://svn.apache.org/viewvc?rev=1924496&view=rev
Log:
[bug-69618] ZipPackage save should check that intermediate steps succeed
Modified:
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java
Modified:
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java
URL:
http://svn.apache.org/viewvc/poi/trunk/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java?rev=1924496&r1=1924495&r2=1924496&view=diff
==============================================================================
---
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java
(original)
+++
poi/trunk/poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/ZipPackage.java
Thu Mar 20 11:56:45 2025
@@ -673,7 +673,7 @@ public final class ZipPackage extends OP
LOG.atDebug().log("Save content types part");
if (!this.contentTypeManager.save(zos)) {
throw new OpenXML4JRuntimeException(
- "Fail to save: content types part");
+ "Failed to save: content types part");
}
// Save package relationships part.
@@ -682,7 +682,7 @@ public final class ZipPackage extends OP
PackagingURIHelper.PACKAGE_RELATIONSHIPS_ROOT_PART_NAME,
zos)) {
throw new OpenXML4JRuntimeException(
- "Fail to save: package relationships part");
+ "Failed to save: package relationships part");
}
// Save parts.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]