Skip to content

Commit 3607192

Browse files
author
Maruan Sahyoun
committed
PDFBOX-5660: annotate for Sonar after code review
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1932955 13f79535-47bb-0310-9956-ffa450edef68
1 parent c1adf37 commit 3607192

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pdfbox/src/main/java/org/apache/pdfbox/cos/COSDocument.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,7 @@ public COSStream createCOSStream()
189189
* @return the new COSStream
190190
* @throws IOException if the random access view can't be read
191191
*/
192+
@SuppressWarnings("java:S2095") // RandomAccessReadView is owned by the created COSStream and will be closed
192193
public COSStream createCOSStream(COSDictionary dictionary, long startPosition,
193194
long streamLength) throws IOException
194195
{

0 commit comments

Comments
 (0)