Removed/commented out/tagged some unused local variables.
Added a JUnit test for the new Trie that fails at present since the Trie is case-insensitive. Running JUnit tests is not something our build system knows about at present, but Eclipse 2.0 makes it very easy. Fixed a few compiler errors due to imports I'd forgotten.
This commit is contained in:
parent
b8391e923d
commit
a6cc4a7ff3
31 changed files with 292 additions and 179 deletions
|
@ -929,9 +929,6 @@ public class TibTextUtils {
|
|||
if (dcs.length == 0)
|
||||
return null;
|
||||
|
||||
AttributeSet attr;
|
||||
String fontName;
|
||||
int fontNum;
|
||||
char ch;
|
||||
String wylie;
|
||||
|
||||
|
@ -944,7 +941,7 @@ public class TibTextUtils {
|
|||
for (int i=start; i<dcs.length; i++) {
|
||||
ch = dcs[i].character;
|
||||
int k = dcs[i].charNum;
|
||||
fontNum = dcs[i].fontNum;
|
||||
// int fontNum = dcs[i].fontNum;
|
||||
|
||||
if (k < 32) {
|
||||
if (wylieBuffer.length() > 0 || !glyphList.isEmpty()) {
|
||||
|
|
|
@ -295,7 +295,7 @@ public class TibetanMachineWeb {
|
|||
System.out.println("reading "+fileName);
|
||||
String line;
|
||||
boolean hashOn = false;
|
||||
boolean isSanskrit = false;
|
||||
boolean isSanskrit = false; //FIXME: this is never read.
|
||||
boolean ignore = false;
|
||||
|
||||
while ((line = in.readLine()) != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue