mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-08 06:53:45 +00:00
ICU-5410 Remove unused code. Data loading was changed a while ago.
X-SVN-Rev: 20508
This commit is contained in:
parent
6a3561ebcd
commit
72d5206f37
1 changed files with 6 additions and 8 deletions
|
@ -6,7 +6,6 @@
|
|||
*/
|
||||
package com.ibm.icu.text;
|
||||
|
||||
import com.ibm.icu.impl.data.ResourceReader;
|
||||
import com.ibm.icu.impl.Utility;
|
||||
import java.util.Vector;
|
||||
import java.util.Hashtable;
|
||||
|
@ -333,10 +332,10 @@ class TransliteratorParser {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* RuleBody subclass for a ResourceReader.
|
||||
*/
|
||||
private static class RuleReader extends RuleBody {
|
||||
/* private static class RuleReader extends RuleBody {
|
||||
ResourceReader reader;
|
||||
public RuleReader(ResourceReader reader) { this.reader = reader; }
|
||||
public String handleNextLine() {
|
||||
|
@ -348,7 +347,7 @@ class TransliteratorParser {
|
|||
public void reset() {
|
||||
reader.reset();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// class RuleHalf
|
||||
|
@ -855,13 +854,13 @@ class TransliteratorParser {
|
|||
parseRules(new RuleArray(new String[] { rules }), direction);
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Parse a set of rules. After the parse completes, examine the public
|
||||
* data members for results.
|
||||
*/
|
||||
public void parse(ResourceReader rules, int direction) {
|
||||
/* public void parse(ResourceReader rules, int direction) {
|
||||
parseRules(new RuleReader(rules), direction);
|
||||
}
|
||||
}*/
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
// PRIVATE methods
|
||||
|
@ -882,7 +881,6 @@ class TransliteratorParser {
|
|||
*/
|
||||
void parseRules(RuleBody ruleArray, int dir) {
|
||||
boolean parsingIDs = true;
|
||||
boolean inBeginEndBlock = false;
|
||||
int ruleCount = 0;
|
||||
|
||||
dataVector = new Vector();
|
||||
|
|
Loading…
Add table
Reference in a new issue