Skip to content

Commit 19560a7

Browse files
committed
PDFBOX-5660: optimize, as suggested by Valery Bokov; closes #234
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1928157 13f79535-47bb-0310-9956-ffa450edef68
1 parent eeeca9b commit 19560a7

File tree

1 file changed

+1
-1
lines changed
  • pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4

1 file changed

+1
-1
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/common/function/type4/Operators.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public class Operators
7474
private static final Operator POP = new StackOperators.Pop();
7575
private static final Operator ROLL = new StackOperators.Roll();
7676

77-
private final Map<String, Operator> operators = new java.util.HashMap<>();
77+
private final Map<String, Operator> operators = new java.util.HashMap<>(42);
7878

7979
/**
8080
* Creates a new Operators object with the default set of operators.

0 commit comments

Comments
 (0)