diff options
author | PJ Fanning <fanningpj@apache.org> | 2022-07-15 21:06:30 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2022-07-15 21:06:30 +0000 |
commit | 2c479b4967b22b877a86f9bd6ec4ef5c4f85510f (patch) | |
tree | a31e63aadd0ca25c74e7b65bc348ce7dffeede53 /poi | |
parent | 619db4dde52480406269ae526c69ed87f1103462 (diff) | |
download | poi-2c479b4967b22b877a86f9bd6ec4ef5c4f85510f.tar.gz poi-2c479b4967b22b877a86f9bd6ec4ef5c4f85510f.zip |
[github-347] make some inner classes static to save memory. Thanks to XenoAmess. This closes #347
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902749 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi')
-rw-r--r-- | poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java index 38266f409d..c8e9aabd74 100644 --- a/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java +++ b/poi/src/main/java/org/apache/poi/hssf/usermodel/HSSFChart.java @@ -1120,7 +1120,7 @@ public final class HSSFChart { } } - linkedDataRecord.setFormulaOfLink(ptgList.toArray(new Ptg[0])); + linkedDataRecord.setFormulaOfLink(ptgList.toArray(Ptg.EMPTY_PTG_ARRAY)); return rowCount * colCount; } |