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 2024/01/17 16:07:17 UTC
svn commit: r1915293 - /pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDictionary.java
Author: tilman
Date: Wed Jan 17 16:07:17 2024
New Revision: 1915293
URL: http://svn.apache.org/viewvc?rev=1915293&view=rev
Log:
PDFBOX-5660: sonar fix
Modified:
pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDictionary.java
Modified: pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDictionary.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDictionary.java?rev=1915293&r1=1915292&r2=1915293&view=diff
==============================================================================
--- pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDictionary.java (original)
+++ pdfbox/branches/2.0/pdfbox/src/main/java/org/apache/pdfbox/cos/COSDictionary.java Wed Jan 17 16:07:17 2024
@@ -1561,7 +1561,7 @@ public class COSDictionary extends COSBa
if (objs.contains(base))
{
// avoid endless recursion
- return "hash:" + String.valueOf(base.hashCode());
+ return "hash:" + base.hashCode();
}
objs.add(base);
if (base instanceof COSDictionary)