Remove unnecessary toString calls [thanks to Kui Liu]. This close #79.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812233 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2017-10-15 20:34:10 +00:00
parent 229af142fc
commit e1571c9130
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public class XDGFVisioExtractor extends POIXMLTextExtractor {
page.getContent().visitShapes(visitor);
}
return visitor.getText().toString();
return visitor.getText();
}
public static void main(String [] args) throws IOException {

View File

@ -352,7 +352,7 @@ public class XWPFParagraph implements IBodyElement, IRunBody, ISDTContents, Para
}
if (level != null && level.getLvlText() != null
&& level.getLvlText().getVal() != null) {
return level.getLvlText().getVal().toString();
return level.getLvlText().getVal();
}
}
}