prevent exception when hashing content

This commit is contained in:
Athou
2013-07-24 19:19:36 +02:00
parent d212e96664
commit dd0fdfc89e

View File

@@ -204,7 +204,7 @@ public class FeedParser {
item.getContents(), CONTENT_TO_STRING),
SystemUtils.LINE_SEPARATOR);
}
return content;
return StringUtils.trimToEmpty(content);
}
private String getTitle(SyndEntry item) {