pjfanning commented on code in PR #775: URL: https://github.com/apache/poi/pull/775#discussion_r2002903709
########## poi-ooxml/src/main/java/org/apache/poi/openxml4j/opc/OPCPackage.java: ########## @@ -141,14 +141,26 @@ public abstract class OPCPackage implements RelationshipSource, Closeable { * @throws OpenXML4JRuntimeException if there are issues creating properties part */ OPCPackage(PackageAccess access) { + this(access, OPCComplianceFlags.enforceAll()); + } + + /** + * Constructor. + * + * @param access Package access. + * @param opcComplianceFlags Enable or disable specific OPC compliance flags. + * This is useful to allow parsing of certain non-compliant documents. + * @throws OpenXML4JRuntimeException if there are issues creating properties part + */ + OPCPackage(PackageAccess access, OPCComplianceFlags opcComplianceFlags) { Review Comment: can you add `@since POI 5.4.1` to new non-private methods and constructors? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org