You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by on...@apache.org on 2016/06/17 00:35:30 UTC

svn commit: r1748781 - in /poi/trunk/src/scratchpad/src/org/apache/poi/hdgf: HDGFDiagram.java extractor/VisioTextExtractor.java

Author: onealj
Date: Fri Jun 17 00:35:29 2016
New Revision: 1748781

URL: http://svn.apache.org/viewvc?rev=1748781&view=rev
Log:
whitespace (3 spaces to tab)

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

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java?rev=1748781&r1=1748780&r2=1748781&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/HDGFDiagram.java Fri Jun 17 00:35:29 2016
@@ -61,9 +61,9 @@ public final class HDGFDiagram extends P
 	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 P
 	 * 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();

Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java?rev=1748781&r1=1748780&r2=1748781&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hdgf/extractor/VisioTextExtractor.java Fri Jun 17 00:35:29 2016
@@ -48,11 +48,11 @@ public final class VisioTextExtractor ex
 	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 ex
 						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 );
+						}
 					}
 				}
 			}



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org