aboutsummaryrefslogtreecommitdiffstats
path: root/poi-integration/src/test/java/org/apache/poi/stress/OPCFileHandler.java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2021-05-22 22:08:50 +0000
committerPJ Fanning <fanningpj@apache.org>2021-05-22 22:08:50 +0000
commit0eb475ee3ad9b8ffe66ee80fab2c51d9f17cc985 (patch)
tree72b3724982ad45ee10dbc1e5fdeb2cbbcd4385d1 /poi-integration/src/test/java/org/apache/poi/stress/OPCFileHandler.java
parent212a7b9655b3da137fcd2489a908fd2ecd03150c (diff)
downloadpoi-0eb475ee3ad9b8ffe66ee80fab2c51d9f17cc985.tar.gz
poi-0eb475ee3ad9b8ffe66ee80fab2c51d9f17cc985.zip
convert tabs to spaces
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1890125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'poi-integration/src/test/java/org/apache/poi/stress/OPCFileHandler.java')
-rw-r--r--poi-integration/src/test/java/org/apache/poi/stress/OPCFileHandler.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/poi-integration/src/test/java/org/apache/poi/stress/OPCFileHandler.java b/poi-integration/src/test/java/org/apache/poi/stress/OPCFileHandler.java
index c4f5485806..2bbd9fc70a 100644
--- a/poi-integration/src/test/java/org/apache/poi/stress/OPCFileHandler.java
+++ b/poi-integration/src/test/java/org/apache/poi/stress/OPCFileHandler.java
@@ -31,7 +31,7 @@ import org.apache.poi.xwpf.usermodel.XWPFRelation;
import org.junit.jupiter.api.Test;
class OPCFileHandler extends AbstractFileHandler {
- @Override
+ @Override
public void handleFile(InputStream stream, String path) throws Exception {
// ignore password protected files
if (POIXMLDocumentHandler.isEncrypted(stream)) return;
@@ -59,15 +59,15 @@ class OPCFileHandler extends AbstractFileHandler {
// text-extraction is not possible currently for these types of files
}
- // a test-case to test this locally without executing the full TestAllFiles
- @Test
- void test() throws Exception {
+ // a test-case to test this locally without executing the full TestAllFiles
+ @Test
+ void test() throws Exception {
File file = new File("test-data/diagram/test.vsdx");
try (InputStream stream = new PushbackInputStream(new FileInputStream(file), 100000)) {
handleFile(stream, file.getPath());
}
- handleExtracting(file);
- }
+ handleExtracting(file);
+ }
}