Skip to content

Commit

Permalink
PDFBOX-5713: Sonar fix
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1914060 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
THausherr committed Nov 23, 2023
1 parent 641ce61 commit c95f42d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fontbox/src/main/java/org/apache/fontbox/pfb/PfbParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ private void parsePfb(final byte[] pfb) throws IOException
size += in.read() << 8;
size += in.read() << 16;
size += in.read() << 24;
LOG.debug("record type: " + recordType + ", segment size: " + size);
byte ar[] = new byte[size];
LOG.debug("record type: {}, segment size: {}", recordType, size);
byte[] ar = new byte[size];
int got = in.read(ar);
if (got != size)
{
Expand Down

0 comments on commit c95f42d

Please sign in to comment.