aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/multimodule/examples/java9/module-info.classbin929 -> 929 bytes
-rw-r--r--src/multimodule/excelant/java9/module-info.classbin293 -> 293 bytes
-rw-r--r--src/multimodule/excelant/test9/module-info.classbin293 -> 293 bytes
-rw-r--r--src/multimodule/ooxml-lite-agent/java9/module-info.classbin188 -> 188 bytes
-rw-r--r--src/multimodule/ooxml-schemas/java9/module-info.classbin2280 -> 2280 bytes
-rw-r--r--src/multimodule/ooxml/java9/module-info.classbin2923 -> 2923 bytes
-rw-r--r--src/multimodule/ooxml/test9/module-info.classbin3792 -> 3792 bytes
-rw-r--r--src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java10
8 files changed, 7 insertions, 3 deletions
diff --git a/src/multimodule/examples/java9/module-info.class b/src/multimodule/examples/java9/module-info.class
index 1b5faa4b37..7f1d82fc9e 100644
--- a/src/multimodule/examples/java9/module-info.class
+++ b/src/multimodule/examples/java9/module-info.class
Binary files differ
diff --git a/src/multimodule/excelant/java9/module-info.class b/src/multimodule/excelant/java9/module-info.class
index 5218a9bc92..2d75c59c3f 100644
--- a/src/multimodule/excelant/java9/module-info.class
+++ b/src/multimodule/excelant/java9/module-info.class
Binary files differ
diff --git a/src/multimodule/excelant/test9/module-info.class b/src/multimodule/excelant/test9/module-info.class
index 5218a9bc92..2d75c59c3f 100644
--- a/src/multimodule/excelant/test9/module-info.class
+++ b/src/multimodule/excelant/test9/module-info.class
Binary files differ
diff --git a/src/multimodule/ooxml-lite-agent/java9/module-info.class b/src/multimodule/ooxml-lite-agent/java9/module-info.class
index fb79979654..45ff2cad38 100644
--- a/src/multimodule/ooxml-lite-agent/java9/module-info.class
+++ b/src/multimodule/ooxml-lite-agent/java9/module-info.class
Binary files differ
diff --git a/src/multimodule/ooxml-schemas/java9/module-info.class b/src/multimodule/ooxml-schemas/java9/module-info.class
index f2a86deda0..2bbf982025 100644
--- a/src/multimodule/ooxml-schemas/java9/module-info.class
+++ b/src/multimodule/ooxml-schemas/java9/module-info.class
Binary files differ
diff --git a/src/multimodule/ooxml/java9/module-info.class b/src/multimodule/ooxml/java9/module-info.class
index fd59cc5611..f88bd8cb64 100644
--- a/src/multimodule/ooxml/java9/module-info.class
+++ b/src/multimodule/ooxml/java9/module-info.class
Binary files differ
diff --git a/src/multimodule/ooxml/test9/module-info.class b/src/multimodule/ooxml/test9/module-info.class
index 67874cc31c..c85ff172e4 100644
--- a/src/multimodule/ooxml/test9/module-info.class
+++ b/src/multimodule/ooxml/test9/module-info.class
Binary files differ
diff --git a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
index 5333532c77..9e5e585c73 100644
--- a/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
+++ b/src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java
@@ -1908,10 +1908,14 @@ public class SXSSFSheet implements Sheet
* @return true if the file was deleted, false if it wasn't.
*/
boolean dispose() throws IOException {
- if (!allFlushed) {
- flushRows();
+ boolean ret;
+ try {
+ if (!allFlushed) {
+ flushRows();
+ }
+ } finally {
+ ret = _writer == null || _writer.dispose();
}
- return _writer == null || _writer.dispose();
}
@Override