Author: tilman
Date: Thu Nov 23 04:42:23 2023
New Revision: 1914063

URL: http://svn.apache.org/viewvc?rev=1914063&view=rev
Log:
PDFBOX-5713: Sonar fix

Modified:
    pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/pfb/PfbParser.java

Modified: 
pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/pfb/PfbParser.java
URL: 
http://svn.apache.org/viewvc/pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/pfb/PfbParser.java?rev=1914063&r1=1914062&r2=1914063&view=diff
==============================================================================
--- pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/pfb/PfbParser.java 
(original)
+++ pdfbox/trunk/fontbox/src/main/java/org/apache/fontbox/pfb/PfbParser.java 
Thu Nov 23 04:42:23 2023
@@ -124,7 +124,7 @@ public class PfbParser
         }
         // read into segments and keep them
         List<Integer> typeList = new ArrayList<>(3);
-        List<byte[]> barrList = new ArrayList<>();
+        List<byte[]> barrList = new ArrayList<>(3);
         ByteArrayInputStream in = new ByteArrayInputStream(pfb);
         int total = 0;
         do


Reply via email to