You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2019/08/24 09:07:06 UTC
svn commit: r1865826 -
/pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java
Author: tilman
Date: Sat Aug 24 09:07:06 2019
New Revision: 1865826
URL: http://svn.apache.org/viewvc?rev=1865826&view=rev
Log:
PDFBOX-4071: SonarQube fix
Modified:
pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java
Modified: pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java?rev=1865826&r1=1865825&r2=1865826&view=diff
==============================================================================
--- pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java (original)
+++ pdfbox/branches/issue4569/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/COSWriter.java Sat Aug 24 09:07:06 2019
@@ -178,6 +178,7 @@ public class COSWriter implements ICOSVi
// these are used for indirect references in other objects
//A hashtable is used on purpose over a hashmap
//so that null entries will not get added.
+ @SuppressWarnings({"squid:S1149"})
private final Map<COSBase,COSObjectKey> objectKeys = new Hashtable<>();
private final Map<COSObjectKey,COSBase> keyObject = new Hashtable<>();