From fc1dc38b550130137afe1d6f132c587e8d914838 Mon Sep 17 00:00:00 2001 From: low012 Date: Fri, 10 Jul 2009 22:51:53 +0000 Subject: [PATCH] *) added spaces to make sure that no words are concatinated by accident git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6194 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/document/parser/docParser.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/de/anomic/document/parser/docParser.java b/source/de/anomic/document/parser/docParser.java index 551fab605..fafd07133 100644 --- a/source/de/anomic/document/parser/docParser.java +++ b/source/de/anomic/document/parser/docParser.java @@ -76,7 +76,9 @@ public class docParser extends AbstractParser implements Idiom { StringBuilder contents = new StringBuilder(); try { contents.append(extractor.getText().trim()); + contents.append(" "); contents.append(extractor.getHeaderText()); + contents.append(" "); contents.append(extractor.getFooterText()); } catch (Exception e) { throw new ParserException("error in docParser, getText: " + e.getMessage(), location);