ICU-68 remove filters[] array

X-SVN-Rev: 6365
This commit is contained in:
Alan Liu 2001-10-21 23:35:41 +00:00
parent 5df1a03390
commit a88af4467b
2 changed files with 8 additions and 24 deletions

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/CompoundTransliterator.java,v $
* $Date: 2001/10/10 20:26:27 $
* $Revision: 1.16 $
* $Date: 2001/10/21 23:35:41 $
* $Revision: 1.17 $
*
*****************************************************************************************
*/
@ -35,7 +35,7 @@ import java.util.Vector;
* <p>Copyright &copy; IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
* @version $RCSfile: CompoundTransliterator.java,v $ $Revision: 1.16 $ $Date: 2001/10/10 20:26:27 $
* @version $RCSfile: CompoundTransliterator.java,v $ $Revision: 1.17 $ $Date: 2001/10/21 23:35:41 $
*/
public class CompoundTransliterator extends Transliterator {
@ -43,11 +43,6 @@ public class CompoundTransliterator extends Transliterator {
private Transliterator[] trans;
/**
* Array of original filters associated with transliterators.
*/
private UnicodeFilter[] filters = null;
/**
* For compound RBTs (those with an ::id block before and/or after
* the main rule block) we record the index of the RBT here.
@ -73,13 +68,10 @@ public class CompoundTransliterator extends Transliterator {
*/
public CompoundTransliterator(Transliterator[] transliterators,
UnicodeFilter filter) {
super(joinIDs(transliterators), null); // don't set filter here!
super(joinIDs(transliterators), filter);
trans = new Transliterator[transliterators.length];
System.arraycopy(transliterators, 0, trans, 0, trans.length);
computeMaximumContextLength();
if (filter != null) {
setFilter(filter);
}
}
/**

View File

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/text/Attic/CompoundTransliterator.java,v $
* $Date: 2001/10/10 20:26:27 $
* $Revision: 1.16 $
* $Date: 2001/10/21 23:35:41 $
* $Revision: 1.17 $
*
*****************************************************************************************
*/
@ -35,7 +35,7 @@ import java.util.Vector;
* <p>Copyright &copy; IBM Corporation 1999. All rights reserved.
*
* @author Alan Liu
* @version $RCSfile: CompoundTransliterator.java,v $ $Revision: 1.16 $ $Date: 2001/10/10 20:26:27 $
* @version $RCSfile: CompoundTransliterator.java,v $ $Revision: 1.17 $ $Date: 2001/10/21 23:35:41 $
*/
public class CompoundTransliterator extends Transliterator {
@ -43,11 +43,6 @@ public class CompoundTransliterator extends Transliterator {
private Transliterator[] trans;
/**
* Array of original filters associated with transliterators.
*/
private UnicodeFilter[] filters = null;
/**
* For compound RBTs (those with an ::id block before and/or after
* the main rule block) we record the index of the RBT here.
@ -73,13 +68,10 @@ public class CompoundTransliterator extends Transliterator {
*/
public CompoundTransliterator(Transliterator[] transliterators,
UnicodeFilter filter) {
super(joinIDs(transliterators), null); // don't set filter here!
super(joinIDs(transliterators), filter);
trans = new Transliterator[transliterators.length];
System.arraycopy(transliterators, 0, trans, 0, trans.length);
computeMaximumContextLength();
if (filter != null) {
setFilter(filter);
}
}
/**