Skip to content

Commit 37f5daa

Browse files
committed
PDFBOX-5169: sonar fix
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930696 13f79535-47bb-0310-9956-ffa450edef68
1 parent 98ce390 commit 37f5daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/compress/COSWriterObjectStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ private class DirectAccessByteArrayOutputStream extends ByteArrayOutputStream
398398
{
399399

400400
@Override
401-
public byte[] toByteArray()
401+
public synchronized byte[] toByteArray()
402402
{
403403
return buf;
404404
}

0 commit comments

Comments
 (0)