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 04:41:14 UTC
svn commit: r1865810 -
/pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java
Author: tilman
Date: Sat Aug 24 04:41:14 2019
New Revision: 1865810
URL: http://svn.apache.org/viewvc?rev=1865810&view=rev
Log:
PDFBOX-4071: SonarQube fix
Modified:
pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java
Modified: pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java?rev=1865810&r1=1865809&r2=1865810&view=diff
==============================================================================
--- pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java (original)
+++ pdfbox/branches/2.0/debugger/src/main/java/org/apache/pdfbox/debugger/streampane/StreamPane.java Sat Aug 24 04:41:14 2019
@@ -427,7 +427,7 @@ public class StreamPane implements Actio
}
else
{
- String str = "" + (char)chr;
+ String str = Character.toString((char) chr);
docu.insertString(docu.getLength(), str, STRING_STYLE);
}
}