ICU-2055 add comments

X-SVN-Rev: 16181
This commit is contained in:
Ram Viswanadha 2004-08-24 01:04:27 +00:00
parent bcaa03b212
commit b62e1c2a05

View File

@ -406,6 +406,9 @@ public class LDMLUtilities {
public static Document resolveAliases(Document doc, String sourceDir, String thisLocale){
// this is going to be interesting
NodeList list = doc.getElementsByTagName(LDMLConstants.ALIAS);
// node list is dynamic .. if a node is deleted, then
// list is immidiately updated.
// so first cache the nodes returned and do stuff
Node[] array = new Node[list.getLength()];
for(int i=0; i<list.getLength(); i++){
array[i] = list.item(i);