X-Git-Url: http://gitweb.fperrin.net/?a=blobdiff_plain;f=src%2Fcom%2Fhughes%2Fandroid%2Fdictionary%2Fengine%2FTokenRow.java;fp=src%2Fcom%2Fhughes%2Fandroid%2Fdictionary%2Fengine%2FTokenRow.java;h=7a9f5d977f886b39121959e013b0bca17fce4b34;hb=ef9f0a4cdd9795df697235d6d14a07011792df11;hp=3335d285aecb010082a5fd1ffe72ffa4860a027c;hpb=c1d7dc461bf7a6603315ca018602ff547b86fed4;p=Dictionary.git diff --git a/src/com/hughes/android/dictionary/engine/TokenRow.java b/src/com/hughes/android/dictionary/engine/TokenRow.java index 3335d28..7a9f5d9 100644 --- a/src/com/hughes/android/dictionary/engine/TokenRow.java +++ b/src/com/hughes/android/dictionary/engine/TokenRow.java @@ -3,7 +3,7 @@ package com.hughes.android.dictionary.engine; import java.io.IOException; import java.io.RandomAccessFile; -public class TokenRow extends RowWithIndex { +public class TokenRow extends RowBase { TokenRow(final RandomAccessFile raf, final int thisRowIndex, final Index index) throws IOException { super(raf, thisRowIndex, index); @@ -16,12 +16,18 @@ public class TokenRow extends RowWithIndex { @Override public void setTokenRow(TokenRow tokenRow) { - throw new RuntimeException("Shouldn't be setting TokenRow!"); + throw new RuntimeException("Shouldn't be setting TokenRow's TokenRow!"); } public String getToken() { return index.sortedIndexEntries.get(referenceIndex).token; } + @Override + public Object draw(String searchText) { + // TODO Auto-generated method stub + return null; + } + }