mirror of https://github.com/apache/poi.git
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:
parent
67e6ad9c47
commit
0b5a0a077f
|
@ -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 {
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue