You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2017/03/01 14:50:54 UTC
[tika] branch master updated: TIKA-2285 -- don't trim before check
This is an automated email from the ASF dual-hosted git repository.
tallison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/master by this push:
new 87745df TIKA-2285 -- don't trim before check
87745df is described below
commit 87745dfd3dae1647e54c88d8d928a5d30ee335e6
Author: tballison <ta...@mitre.org>
AuthorDate: Wed Mar 1 09:50:46 2017 -0500
TIKA-2285 -- don't trim before check
---
.../src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java
index afce4ee..3180925 100644
--- a/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java
+++ b/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java
@@ -109,7 +109,7 @@ public class WordExtractor extends AbstractPOIFSExtractor {
*/
public static TagAndStyle buildParagraphTagAndStyle(String styleName, boolean isTable) {
- if (styleName == null || styleName.trim().length() < 2) {
+ if (styleName == null || styleName.length() < 2) {
return defaultParagraphStyle;
}
--
To stop receiving notification emails like this one, please contact
['"commits@tika.apache.org" <co...@tika.apache.org>'].