aboutsummaryrefslogtreecommitdiffstats
path: root/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2017-10-31 09:48:23 +0000
committerPJ Fanning <fanningpj@apache.org>2017-10-31 09:48:23 +0000
commitd6f261473df936372cf9cd48a9d0ace1cb897778 (patch)
tree5402c25fb346c2ab093da7e654333d5a71d9180a /src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java
parentb3cb1211a47dad4b0d6287b0da62d6cdbe15e734 (diff)
downloadpoi-d6f261473df936372cf9cd48a9d0ace1cb897778.tar.gz
poi-d6f261473df936372cf9cd48a9d0ace1cb897778.zip
add test case for bug 61701 and use StringBuilder in more places
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1813863 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java')
-rw-r--r--src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java b/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java
index 954feb80ef..26b2cd84c2 100644
--- a/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java
+++ b/src/ooxml/java/org/apache/poi/POIXMLTextExtractor.java
@@ -104,7 +104,7 @@ public abstract class POIXMLTextExtractor extends POITextExtractor {
super.close();
}
- protected void checkMaxTextSize(StringBuffer text, String string) {
+ protected void checkMaxTextSize(CharSequence text, String string) {
if(string == null) {
return;
}