]> gitweb.fperrin.net Git - Dictionary.git/commitdiff
Remove more code that is no longer used.
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 12 Dec 2015 22:49:11 +0000 (23:49 +0100)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Sat, 12 Dec 2015 22:49:11 +0000 (23:49 +0100)
src/com/hughes/android/dictionary/engine/Dictionary.java

index f900bab9ea74a5ac7a9c7706e63b5c7c803b636a..4b64a14ded7b70258a4a7ed6a087f251c67eb531 100644 (file)
@@ -150,9 +150,7 @@ public class Dictionary implements RAFSerializable<Dictionary> {
     final RAFListSerializer<HtmlEntry> htmlEntryIndexSerializer = new RAFListSerializer<HtmlEntry>() {
         @Override
         public void write(DataOutput raf, HtmlEntry t) throws IOException {
-            if (t.index() == -1)
-                throw new IndexOutOfBoundsException();
-            raf.writeInt(t.index());
+            assert false;
         }
 
         @Override