X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=src%2Fcom%2Fhughes%2Fandroid%2Fdictionary%2Fengine%2FDictionary.java;h=3abe61e959f82d870acf576cb3b503574ae7fd30;hb=f3f48901a1bc21bb9badc4174e2db7c96b8656ff;hp=151bad6b66bfb781fa160c8c2cebe09cc6d935aa;hpb=6d35ec1f2be499ba29bd5c41c3722ddc230816d0;p=Dictionary.git diff --git a/src/com/hughes/android/dictionary/engine/Dictionary.java b/src/com/hughes/android/dictionary/engine/Dictionary.java index 151bad6..3abe61e 100644 --- a/src/com/hughes/android/dictionary/engine/Dictionary.java +++ b/src/com/hughes/android/dictionary/engine/Dictionary.java @@ -94,7 +94,7 @@ public class Dictionary implements RAFSerializable { CACHE_SIZE); if (dictFileVersion >= 5) { htmlEntries = CachingList.create( - RAFList.create(ch, new HtmlEntry.Serializer(this), ch.position(), dictFileVersion, dictInfo + " html: "), + RAFList.create(ch, new HtmlEntry.Serializer(this, ch), ch.position(), dictFileVersion, dictInfo + " html: "), CACHE_SIZE); } else { htmlEntries = Collections.emptyList(); @@ -130,7 +130,7 @@ public class Dictionary implements RAFSerializable { System.out.println("text start: " + raf.getFilePointer()); RAFList.write(raf, textEntries, new TextEntry.Serializer(this)); System.out.println("html index start: " + raf.getFilePointer()); - RAFList.write(raf, htmlEntries, new HtmlEntry.Serializer(this), 64, true); + RAFList.write(raf, htmlEntries, new HtmlEntry.Serializer(this, null), 64, true); System.out.println("html data start: " + raf.getFilePointer()); assert htmlData == null; RAFList.write(raf, htmlEntries, new HtmlEntry.DataSerializer(), 128, true);