From d77a3f9058159d2c2d4eba5c83ab5b00c6c32640 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Fri, 17 Jun 2016 00:35:29 +0000 Subject: [PATCH] whitespace (3 spaces to tab) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748781 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/org/apache/poi/hdgf/HDGFDiagram.java | 8 +++--- .../hdgf/extractor/VisioTextExtractor.java | 28 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java b/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java index 687bdb3131..f9f6db581d 100644 --- a/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java +++ b/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java @@ -61,9 +61,9 @@ public final class HDGFDiagram extends POIDocument { public HDGFDiagram(POIFSFileSystem fs) throws IOException { this(fs.getRoot()); } - public HDGFDiagram(NPOIFSFileSystem fs) throws IOException { - this(fs.getRoot()); - } + public HDGFDiagram(NPOIFSFileSystem fs) throws IOException { + this(fs.getRoot()); + } /** * @deprecated Use {@link #HDGFDiagram(DirectoryNode)} instead */ @@ -171,7 +171,7 @@ public final class HDGFDiagram extends POIDocument { * For testing only */ public static void main(String args[]) throws Exception { - NPOIFSFileSystem pfs = new NPOIFSFileSystem(new File(args[0])); + NPOIFSFileSystem pfs = new NPOIFSFileSystem(new File(args[0])); HDGFDiagram hdgf = new HDGFDiagram(pfs); hdgf.debug(); pfs.close(); diff --git a/src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java b/src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java index 17fba4a29a..320800a726 100644 --- a/src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java +++ b/src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java @@ -48,11 +48,11 @@ public final class VisioTextExtractor extends POIOLE2TextExtractor { public VisioTextExtractor(POIFSFileSystem fs) throws IOException { this(fs.getRoot()); } - public VisioTextExtractor(NPOIFSFileSystem fs) throws IOException { - this(fs.getRoot()); - } - public VisioTextExtractor(DirectoryNode dir) throws IOException { - this(new HDGFDiagram(dir)); + public VisioTextExtractor(NPOIFSFileSystem fs) throws IOException { + this(fs.getRoot()); + } + public VisioTextExtractor(DirectoryNode dir) throws IOException { + this(new HDGFDiagram(dir)); } /** * @deprecated Use {@link #VisioTextExtractor(DirectoryNode)} instead @@ -91,18 +91,18 @@ public final class VisioTextExtractor extends POIOLE2TextExtractor { chunk.getName() != null && chunk.getName().equals("Text") && chunk.getCommands().length > 0) { - + // First command Command cmd = chunk.getCommands()[0]; if(cmd != null && cmd.getValue() != null) { - // Capture the text, as long as it isn't - // simply an empty string - String str = cmd.getValue().toString(); - if(str.equals("") || str.equals("\n")) { - // Ignore empty strings - } else { - text.add( str ); - } + // Capture the text, as long as it isn't + // simply an empty string + String str = cmd.getValue().toString(); + if(str.equals("") || str.equals("\n")) { + // Ignore empty strings + } else { + text.add( str ); + } } } } -- 2.39.5