From 0f97b44e9f5a22078ec3227d58c4a404a82b794e Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 19 Mar 2018 13:32:32 +0100 Subject: [PATCH] increased LruCache for unicode script detection --- .../eu/siacs/conversations/utils/IrregularUnicodeDetector.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/utils/IrregularUnicodeDetector.java b/src/main/java/eu/siacs/conversations/utils/IrregularUnicodeDetector.java index 8e097af16..e323b67db 100644 --- a/src/main/java/eu/siacs/conversations/utils/IrregularUnicodeDetector.java +++ b/src/main/java/eu/siacs/conversations/utils/IrregularUnicodeDetector.java @@ -56,7 +56,7 @@ import rocks.xmpp.addr.Jid; public class IrregularUnicodeDetector { private static final Map NORMALIZATION_MAP; - private static final LruCache CACHE = new LruCache<>(100); + private static final LruCache CACHE = new LruCache<>(4096); static { Map temp = new HashMap<>();