aboutsummaryrefslogtreecommitdiffstats
path: root/src/integrationtest
diff options
context:
space:
mode:
authorAndreas Beeker <kiwiwings@apache.org>2018-05-27 22:01:33 +0000
committerAndreas Beeker <kiwiwings@apache.org>2018-05-27 22:01:33 +0000
commit0c35761317208529c8855025017e7953d7d101cd (patch)
treeca3b2db6b6dbf0d28f6306305ee37721ac20f018 /src/integrationtest
parent6ce329eca43ad902a132cf86e7b9853f652fc3c1 (diff)
downloadpoi-0c35761317208529c8855025017e7953d7d101cd.tar.gz
poi-0c35761317208529c8855025017e7953d7d101cd.zip
#62355 - unsplit packages - 2 - modified classes (not only imports)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1832359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/integrationtest')
-rw-r--r--src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java b/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java
index 2b5c6295fd..05147ff6d0 100644
--- a/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java
+++ b/src/integrationtest/org/apache/poi/stress/SpreadsheetHandler.java
@@ -48,12 +48,8 @@ public abstract class SpreadsheetHandler extends AbstractFileHandler {
ByteArrayOutputStream out = writeToArray(wb);
// read in the written file
- Workbook read;
- try {
- read = WorkbookFactory.create(new ByteArrayInputStream(out.toByteArray()));
- } catch (InvalidFormatException e) {
- throw new IllegalStateException(e);
- }
+ Workbook read = WorkbookFactory.create(new ByteArrayInputStream(out.toByteArray()));
+
assertNotNull(read);
readContent(read);