From: Reimar Döffinger Date: Sat, 12 Dec 2015 22:49:11 +0000 (+0100) Subject: Remove more code that is no longer used. X-Git-Url: http://gitweb.fperrin.net/?a=commitdiff_plain;h=016117f66dfa2223f95903217f596b6294a8ae26;p=Dictionary.git Remove more code that is no longer used. --- diff --git a/src/com/hughes/android/dictionary/engine/Dictionary.java b/src/com/hughes/android/dictionary/engine/Dictionary.java index f900bab..4b64a14 100644 --- a/src/com/hughes/android/dictionary/engine/Dictionary.java +++ b/src/com/hughes/android/dictionary/engine/Dictionary.java @@ -150,9 +150,7 @@ public class Dictionary implements RAFSerializable { final RAFListSerializer htmlEntryIndexSerializer = new RAFListSerializer() { @Override public void write(DataOutput raf, HtmlEntry t) throws IOException { - if (t.index() == -1) - throw new IndexOutOfBoundsException(); - raf.writeInt(t.index()); + assert false; } @Override