You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2026/10/11 12:20:34 UTC

(poi) branch trunk updated: OpcOutputStream: drop synchronized from write (#1378)

This is an automated email from the ASF dual-hosted git repository.

pjfanning pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fdfb26d909 OpcOutputStream: drop synchronized from write (#1378)
fdfb26d909 is described below

commit fdfb26d90970c708715ab376bcf2335211079f17
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sun Oct 11 13:20:28 2026 +0100

    OpcOutputStream: drop synchronized from write (#1378)
    
    Co-authored-by: Claude Opus 5.5 <no...@anthropic.com>
---
 .../src/main/java/org/apache/poi/xssf/streaming/OpcOutputStream.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/OpcOutputStream.java b/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/OpcOutputStream.java
index c3fc63eebb..33ef7acdb5 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/OpcOutputStream.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xssf/streaming/OpcOutputStream.java
@@ -118,7 +118,7 @@ class OpcOutputStream extends DeflaterOutputStream {
      * @see ZipOutputStream#write(byte[], int, int)
      */
     @Override
-    public synchronized void write(byte[] b, int off, int len) throws IOException {
+    public void write(byte[] b, int off, int len) throws IOException {
         if (off < 0 || len < 0 || off > b.length - len) {
             throw new IndexOutOfBoundsException();
         } else if (len == 0) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org