You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2022/01/06 11:10:33 UTC
svn commit: r1896745 - in /poi/trunk: poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
Author: centic
Date: Thu Jan 6 11:10:33 2022
New Revision: 1896745
URL: http://svn.apache.org/viewvc?rev=1896745&view=rev
Log:
Increase new limits for files processed in the mass-regression-tests
Some valid test-files do trigger these limits, which indicates that
we should set them a bit higher
Modified:
poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java
poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java
poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
Modified: poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java?rev=1896745&r1=1896744&r2=1896745&view=diff
==============================================================================
--- poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java (original)
+++ poi/trunk/poi-scratchpad/src/main/java/org/apache/poi/hslf/usermodel/HSLFTextParagraph.java Thu Jan 6 11:10:33 2022
@@ -87,7 +87,7 @@ import org.apache.poi.util.Units;
public final class HSLFTextParagraph implements TextParagraph<HSLFShape,HSLFTextParagraph,HSLFTextRun> {
private static final Logger LOG = LogManager.getLogger(HSLFTextParagraph.class);
- private static final int MAX_NUMBER_OF_STYLES = 10_000;
+ private static final int MAX_NUMBER_OF_STYLES = 20_000;
// Note: These fields are protected to help with unit testing
// Other classes shouldn't really go playing with them!
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java?rev=1896745&r1=1896744&r2=1896745&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hssf/record/RecordFactory.java Thu Jan 6 11:10:33 2022
@@ -35,7 +35,7 @@ public final class RecordFactory {
private static final int NUM_RECORDS = 512;
// how many records we read at max by default (can be adjusted via IOUtils)
- private static final int MAX_NUMBER_OF_RECORDS = 1_000_000;
+ private static final int MAX_NUMBER_OF_RECORDS = 2_000_000;
private RecordFactory() {}
Modified: poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java?rev=1896745&r1=1896744&r2=1896745&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/poifs/filesystem/POIFSFileSystem.java Thu Jan 6 11:10:33 2022
@@ -64,7 +64,7 @@ public class POIFSFileSystem extends Blo
private static final int DEFAULT_MAX_RECORD_LENGTH = 100_000;
private static int MAX_RECORD_LENGTH = DEFAULT_MAX_RECORD_LENGTH;
- private static final int MAX_ALLOCATION_SIZE = 100_000_000;
+ private static final int MAX_ALLOCATION_SIZE = 250_000_000;
private static final Logger LOG = LogManager.getLogger(POIFSFileSystem.class);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org