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