let everything settle a little while longer

This commit is contained in:
Athou
2014-03-03 12:42:16 +01:00
parent 63ec92038c
commit a5f7b56bf2
3 changed files with 3 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ public class FeedRefreshTaskGiver {
public void start() {
try {
// sleeping for a little while, let everything settle
Thread.sleep(5000);
Thread.sleep(60000);
} catch (InterruptedException e) {
log.error("interrupted while sleeping");
}

View File

@@ -62,7 +62,7 @@ public class FeedUtils {
return string;
}
private static Whitelist buildWhiteList() {
private static synchronized Whitelist buildWhiteList() {
Whitelist whitelist = new Whitelist();
whitelist.addTags("a", "b", "blockquote", "br", "caption", "cite", "code", "col", "colgroup", "dd", "div", "dl", "dt", "em", "h1",
"h2", "h3", "h4", "h5", "h6", "i", "iframe", "img", "li", "ol", "p", "pre", "q", "small", "strike", "strong", "sub", "sup",

View File

@@ -8,7 +8,7 @@ import com.google.gwt.thirdparty.guava.common.collect.Maps;
public class HtmlEntities {
public static final Map<String, String> NUMERIC_MAPPING = Collections.unmodifiableMap(loadMap());
private static Map<String, String> loadMap() {
private static synchronized Map<String, String> loadMap() {
Map<String, String> map = Maps.newLinkedHashMap();
map.put("&Aacute;", "&#193;");
map.put("&aacute;", "&#225;");