Solved some sorting errors with the servlet version.
Also if the service parameter thdlBanner=anything is sent, the THDL's java script menu is displayed (if it is running on the thdl server). There is still a bug. Menu goes away when pressing "translate" button. See: http://iris.lib.virginia.edu/tibetan/servlet/org.thdl.tib.scanner.OnLineScannerFilter?thdlBanner=on
This commit is contained in:
parent
e42d76b3b8
commit
07fbbcaf45
4 changed files with 88 additions and 14 deletions
|
@ -285,11 +285,11 @@ public abstract class TibetanScanner
|
|||
|
||||
public Token[] getTokenArray()
|
||||
{
|
||||
int i=0;
|
||||
Token token[] = new Token[wordList.size()];
|
||||
int n=wordList.size();
|
||||
Token token[] = new Token[n];
|
||||
SimplifiedListIterator li = wordList.listIterator();
|
||||
while(li.hasNext())
|
||||
token[i++] = (Token)li.next();
|
||||
token[--n] = (Token)li.next();
|
||||
return token;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue