X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=src%2Fcom%2Fhughes%2Fandroid%2Fdictionary%2Fengine%2FDictionary.java;h=4543b7bbc7866a8f0ad022cc52225cfcb26e032e;hb=0d6b69d8819c937eed8a911f491146b76a9b1300;hp=3abe61e959f82d870acf576cb3b503574ae7fd30;hpb=4b0aa089555e54ebc9bf26f58096fb808b72420b;p=Dictionary.git diff --git a/src/com/hughes/android/dictionary/engine/Dictionary.java b/src/com/hughes/android/dictionary/engine/Dictionary.java index 3abe61e..4543b7b 100644 --- a/src/com/hughes/android/dictionary/engine/Dictionary.java +++ b/src/com/hughes/android/dictionary/engine/Dictionary.java @@ -88,14 +88,14 @@ public class Dictionary implements RAFSerializable { pairEntries = CachingList.create( RAFList.create(ch, new PairEntry.Serializer(this), ch.position(), dictFileVersion, dictInfo + " pairs: "), - CACHE_SIZE); + CACHE_SIZE, false); textEntries = CachingList.create( RAFList.create(ch, new TextEntry.Serializer(this), ch.position(), dictFileVersion, dictInfo + " text: "), - CACHE_SIZE); + CACHE_SIZE, true); if (dictFileVersion >= 5) { htmlEntries = CachingList.create( RAFList.create(ch, new HtmlEntry.Serializer(this, ch), ch.position(), dictFileVersion, dictInfo + " html: "), - CACHE_SIZE); + CACHE_SIZE, true); } else { htmlEntries = Collections.emptyList(); }