whitespace (3 spaces to tab)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1748781 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-06-17 00:35:29 +00:00
parent c3833b5ce7
commit d77a3f9058
2 changed files with 18 additions and 18 deletions

View 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();

View 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
@ -95,14 +95,14 @@ public final class VisioTextExtractor extends POIOLE2TextExtractor {
// 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 );
}
}
}
}