]> source.dussan.org Git - poi.git/commitdiff
whitespace (3 spaces to tab)
authorJaven O'Neal <onealj@apache.org>
Fri, 17 Jun 2016 00:35:29 +0000 (00:35 +0000)
committerJaven O'Neal <onealj@apache.org>
Fri, 17 Jun 2016 00:35:29 +0000 (00:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748781 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java
src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java

index 687bdb3131dc28532f9f79a1f96572bc0876a918..f9f6db581d6cf82e5caa279cd181c4649abc93c9 100644 (file)
@@ -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();
index 17fba4a29a855047049eeb037752cbd75958f010..320800a7260b99465665b1423b38804bdd62994c 100644 (file)
@@ -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 );
+                                               }
                                        }
                                }
                        }