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
229af142fc
commit
e1571c9130
@ -48,7 +48,7 @@ public class XDGFVisioExtractor extends POIXMLTextExtractor {
|
|||||||
page.getContent().visitShapes(visitor);
|
page.getContent().visitShapes(visitor);
|
||||||
}
|
}
|
||||||
|
|
||||||
return visitor.getText().toString();
|
return visitor.getText();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String [] args) throws IOException {
|
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
|
if (level != null && level.getLvlText() != null
|
||||||
&& level.getLvlText().getVal() != null) {
|
&& level.getLvlText().getVal() != null) {
|
||||||
return level.getLvlText().getVal().toString();
|
return level.getLvlText().getVal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user